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