mp_units::usc¶
The United States customary system of units
Description¶
Extends yard_pound with units specific to the United States, such as the US gallon and the barrel.
using usc::unit_symbols::gal;
quantity volume = 1. * gal;
quantity in_litres = volume.in(L); // 3.78541 L
Namespaces¶
| Name | Description |
|---|---|
survey1893 | The units of length based on the US survey foot |
Types¶
Functions¶
Variables¶
| Name |
|---|
acre |
barrel |
bushel |
cable |
chain |
cup |
degree_Fahrenheit |
dry_barrel |
dry_gallon |
dry_pint |
dry_quart |
fahrenheit_zero |
fluid_dram |
fluid_ounce |
furlong |
gallon |
gill |
hogshead |
inch_of_mercury |
link |
minim |
oil_barrel |
peck |
pennyweight |
pint |
pottle |
quart |
quarter |
rankine |
rod |
section |
short_hundredweight |
short_ton |
shot |
tablespoon |
teaspoon |
ton |
troy_once |
troy_pound |
us_survey_foot [deprecated] |
us_survey_mile [deprecated] |
zeroth_degree_Fahrenheit [deprecated] |
zeroth_rankine [deprecated] |
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
- USC System for every entity it defines