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

◆ field_value_of()

template<typename T >
decltype(auto) constexpr field_value_of ( T &&  t)
related

Extracts the value from a kumi::field_capture or returns the parameter.

Note
If the unqualified type of T is not a field_capture, 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.