units_literals(3)

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

NAME

units::literals - namespace for unit literal definitions of all categories.

SYNOPSIS

Detailed Description

namespace for unit literal definitions of all categories.

Literals allow for declaring unit types using suffix values. For example, a type of meter_t(6.2) could be declared as 6.2_m. All literals use an underscore followed by the abbreviation for the unit. To enable literal syntax in your code, include the statement using namespace units::literals.

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