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

◆ name_of()

template<typename T>
auto kumi::name_of ( )
inlinenodiscardconstevalnoexcept

Extracts the name from a kumi::field or returns the parameter.

Note
If the unqualified type of T is not a field returns kumi::unkown.
Template Parameters
TThe name to extract name from.
Returns
The name of the field or kumi::unknown.