Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Macro BOOST_UNITS_DEFAULT_CONVERSION_TEMPLATE

BOOST_UNITS_DEFAULT_CONVERSION_TEMPLATE

Synopsis

// In header: <boost/units/conversion.hpp>

BOOST_UNITS_DEFAULT_CONVERSION_TEMPLATE(Params, Source, Dest)

Description

Specifies the default conversion to be applied when no direct conversion is available. Params is a PP Sequence of template arguments. Source is a base unit. Dest is any unit with the same dimensions. The source must not be a scaled base unit.


PrevUpHomeNext