KUMI v5.0.0
Gorgeous Garnet
Loading...
Searching...
No Matches

◆ operator=()

template<kumi::str ID>
template<typename T>
auto kumi::name< ID >::operator= ( T && v) const -> kumi::field< type, std::unwrap_ref_decay_t< T > >
inlineconstexprnoexcept

Assignment of a value to an identifier.

Binds a value to the current name and returns a kumi::field instance.

Parameters
vBound value
Returns
A kumi::field binding the identifier to v.