Skip to content

mp_units::imperial

The British imperial system of units

Description

Extends yard_pound with units specific to the United Kingdom, such as the stone and the imperial gallon.

using imperial::unit_symbols::st;

quantity body_mass = 11. * st;
quantity in_kilograms = body_mass.in(kg);  // 69.8532 kg

Types

Variables

Using Namespace Directives

NameDescription
yard_pound Units of the international yard and pound of 1959, and related units

See Also