Luna::get

template <usize, typename...>
TupleElement< _I, Tuple< _Tys... > >::type && get(Tuple< _Tys... > &&t)

Gets the _Ith element from the tuple.

Parameters

  • in t

    The tuple to extract element from.

Return value

Returns one rvalue reference to the element in the tuple.