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

◆ get

template<concepts::indexer... V>
template<std::size_t I>
requires (I < sizeof...(V))
constexpr decltype(auto) get ( indexes_t< V > &  i)
friend

Extracts the Ith element from a kumi::indexes_t.

Note
Does not participate in overload resolution if I is not in [0, sizeof...(Ts)).
Parameters
iCompile-time index of the element to access
Returns
A copy of the value of the selected element of current indexes_t.