Home

Awesome

Units Literals

User defined literals for the Boost Units library.

Literals

User defined literals for almost all the S.I. units are defined including variants for each S.I. prefix.

These are defined in the literals.hpp header in the boost::units::literals namespace.

Constants

Various constants are defined (making use of the user defined units literals).

These are defined in the constants.hpp header in the boost::units::constants namespace.

Examples

The test.cpp file contains a few examples.