mp_units::utility::constrained::constrained¶
Construct from T
Synopsis¶
Declared in <mp-units/utility/constrained.h>
[[nodiscard]] constexpr explicit(false) constrained(T v) noexcept;
Return Value¶
Note
The return value should not be discarded.
Parameters¶
| Name | Description |
|---|---|
| v | The object to construct from |