5
Quantities and units library
[quantities]
5.5
Representation
[qty.rep]
5.5.2
Traits
[qty.rep.traits]
5.5.2.3
Values
[qty.val.traits]
1
#
quantity
and
quantity_
point
use
representation_
values
to construct special values of its representation type
.
namespace
mp_units
{
template
<
typename
Rep
>
struct
representation_values
:
std
::
chrono
::
duration_values
<
Rep
>
{
static
constexpr
Rep one
(
)
noexcept
;
}
;
}
2
#
The requirements on
std
::
chrono
::
duration_
values
<
Rep
>
(
N4971, [time.traits.duration.values]
) also apply to
representation_
values
<
Rep
>
.
🔗
static
constexpr
Rep one
(
)
noexcept
;
3
#
Returns
:
Rep
(
1
)
.
4
#
Remarks
: The value returned shall be the neutral element for multiplication (
IEC 60050, 102-01-19
)
.