Constructors
Synopses
Declared in <mp‐units/utility/constrained.h>
Default‐constructs the wrapped value.
[[nodiscard]]
constrained() = default;
Constructs the wrapper from a value of the underlying type.
[[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