A header only C++ library that provides type safety and user defined literals for physical units
unit.as<other_unit>()
automatically infers the underlying type if not explicitely specified.unit_t
. See issue #106 for detailsThe numerical value always precedes the unit and a space is always used to separate the unit from the number
sterradiant_t
to steradian_t
which is correctm/s
) and acceleration types (m/s^2
)degree_t
to angle type including literals _deg
- Conversion between radians and degrees are possible