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¶
| Name |
|---|
acre |
barleycorn |
cable |
chain |
fluid_ounce |
furlong |
gallon |
gill |
hand |
link |
long_hundredweight |
perch |
pint |
quart |
quarter |
rod |
rood |
stone |
thou |
ton |
Variables¶
| Name |
|---|
acre |
barleycorn |
cable |
chain |
drachm |
fluid_ounce |
furlong |
gallon |
gill |
hand |
link |
long_hundredweight |
long_ton |
perch |
pint |
quart |
quarter |
rod |
rood |
stone |
thou |
ton |
Using Namespace Directives¶
| Name | Description |
|---|---|
yard_pound | Units of the international yard and pound of 1959, and related units |
See Also¶
- Yard-Pound Systems in the User's Guide
- Imperial System for every entity it defines