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

Provides indexed access to the types of the elements of a product type and unwraps the returned field_capture for record type. More...

#include <kumi/utils/traits.hpp>

Detailed Description

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

Provides indexed access to the types of the elements of a product type and unwraps the returned field_capture for record type.

Note
is equivalent to element_t on product type that doesnt model record type.
Template Parameters
IIndex of the type to retrieve
TProduct type to access

Helper type

namespace kumi
{
template<std::size_t I, typename T>
using raw_element_t = typename raw_element_t<I,T>::type;
}
Main KUMI namespace.
Definition algorithm.hpp:11