units_substance(3)

units::substance(3) Unit Conversion and Dimensional Analysis Library units::substance(3)

NAME

units::substance - namespace for unit types and containers representing substance values

SYNOPSIS

Typedefs

Units (full names plural)



typedef unit< std::ratio< 1 >, units::category::substance_unit > moles


Units (full names singular)



typedef moles mole


Units (abbreviated)



typedef moles mol


Unit Containers



typedef unit_t< mole > mole_t


Functions


std::ostream & operator<< (std::ostream &os, const mole_t &obj)
std::string to_string (const mole_t &obj)

Detailed Description

namespace for unit types and containers representing substance values

The SI unit for substance is moles, and the corresponding base_unit category is substance_unit.

See also

See unit_t for more information on unit type containers.

Author

Generated automatically by Doxygen for Unit Conversion and Dimensional Analysis Library from the source code.

Wed Feb 11 2026 09:38:34 Version 2.3.0