Constructs the wrapper from a value of the underlying type.
Declared in <mp-units/utility/constrained.h>
[[nodiscard]]
constexpr
explicit(false)
constrained(T v) noexcept;
The return value should not be discarded.
| Name | Description |
|---|---|
| v | the value to wrap |