5
Quantities library
[qties]
5.8
Types
[qty.types]
5.8.2
Class template
quantity
[qty.type]
namespace
mp_units
{
export
template
<
some_
reference
auto
R,
representation_
of
<
get_quantity_spec
(
R
)
.
character
>
Rep
=
double
>
class
quantity
{
unspecified
}
;
}
Let
Q
be a specialization of
quantity
.
If
Rep
is a scalar,
Q
represents a scalar quantity (
IEC 60050, 102-02-19
)
.
If
Rep
is a vector,
Q
represents a vector (
IEC 60050, 102-03-04
)
.