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

◆ capture_field()

decltype(auto) constexpr capture_field ( T && t)
related

Creates a field from a given value keeping the qualifiers.

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