4 Specification [spec]

4.1 External [spec.ext]

The specification of the mp-units library subsumes N4971, [description], N4971, [requirements], N4971, [concepts.equality], and SD-8, all assumingly amended for the context of this library.
[Note 1: 
This means that, non exhaustively,
  • ​::​mp_units2 is a reserved namespace, and
  • std​::​vector<mp_units​::​type> is a program-defined specialization and a library-defined specialization from the point of view of the C++ standard library and the mp-units library, respectively.
— end note]
The mp-units library is not part of the C++ implementation.

4.2 Categories [spec.cats]

Detailed specifications for each of the components in the library are in [qties][qties], as shown in Table 1.
Table 1: Library categories [tab:lib.cats]
Clause
Category
Quantities library
The quantities library ([qties]) describes components for dealing with quantities.

4.3 Modules [spec.mods]

The mp-units library provides the mp-units modules, shown in Table 2.
Table 2: mp-units modules [tab:modules]
mp_units
mp_units.core
mp_units.systems

4.4 Library-wide requirements [spec.reqs]

4.4.1 Reserved names [spec.res.names]

The mp-units library reserves macro names that start with MP_UNITSdigit-sequence_.