kumi v3.1.0
Exquisite Epidote
 
Loading...
Searching...
No Matches
kumi::element< I, T > Struct Template Reference

Provides indexed access to the types of the elements of a kumi::product_type. More...

#include <kumi/utils/traits.hpp>

Detailed Description

template<std::size_t I, typename T>
struct kumi::element< I, T >

Provides indexed access to the types of the elements of a kumi::product_type.

Template Parameters
IIndex of the type to retrieve
Tkumi::product_type to access

Helper type

namespace kumi
{
template<std::size_t I, typename T> using element_t = typename element<I,T>::type;
}
Main KUMI namespace.
Definition: algorithm.hpp:11
Provides indexed access to the types of the elements of a kumi::product_type.
Definition: traits.hpp:68