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

◆ capture_field()

template<str Name, typename T >
decltype(auto) constexpr capture_field ( T &&  t)
related

Creates a field_capture from a given value keeping the qualifiers.

Note
If the unqualified type of T is not a field_capture, simply forwards the parameter
Template Parameters
NameThe name to associate to the field.
Parameters
tA forwarding reference to the input object.
Returns
A field_capture that correctly keeps the qualified input type.