mp_units::representation_values::one

Returns the multiplicative identity (one) for the representation type.

Synopsis

Declared in <mp-units/framework/customization_points.h>

constexpr
static
Rep
one() noexcept
requires std::constructible_from<Rep, int>;

Return Value

Rep(1)