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

◆ field_cast()

template<typename U , typename T >
decltype(auto) constexpr field_cast ( T &&  t)
related

Casts the provided value to the target type using static_cast.

Note
Even when passed in a field_capture as the conversion type, this function does not rename the input parameter.
Template Parameters
UThe type to convert the parameter to.
Parameters
tA forwarding reference to the input object.
Returns
A value of type U.