Construct from rep

Synopsis

Declared in <mp‐units/framework/quantity.h>

[[nodiscard]]
constexpr
explicit(!mp_units::implicitly_convertible(quantity_spec, dimensionless))
quantity(rep val)
requires detail::ExplicitFromNumber<reference>;

Return Value

Note

The return value should not be discarded.

Parameters

Name

Description

val

The object to construct from

Created with MrDocs