kumi v3.1.0
Exquisite Epidote
Loading...
Searching...
No Matches

◆ field_value_of()

template<typename T>
decltype(auto) kumi::field_value_of ( T && t)
inlinenodiscardconstexprnoexcept

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
TThe type to unwrap
Parameters
tA forwarding reference to the input object.
Returns
A forwarded value of the unwrapped object.