kumi
v3.1.0
Exquisite Epidote
Loading...
Searching...
No Matches
◆
field_value_of()
template<typename T>
decltype(auto) kumi::field_value_of
(
T &&
t
)
inline
nodiscard
constexpr
noexcept
Extracts the value from a
kumi::field
or returns the parameter.
Note
If the unqualified type of T is not a field, simply forwards the parameter
Template Parameters
T
The type to unwrap
Parameters
t
A forwarding reference to the input object.
Returns
A forwarded value of the unwrapped object.
kumi