Constructs the wrapper from a value of the underlying type.
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 value to wrap |
Created with MrDocs