ECSTASY
All in the name
Loading...
Searching...
No Matches
util::meta::Traits< Args > Struct Template Reference

Empty parameter pack helper type. More...

#include <Traits.hpp>

Public Types

using Tuple = std::tuple< Args... >
 Get a tuple type containing the types.
 
template<std::size_t N>
using Nth = typename std::tuple_element< N, Tuple >::type
 Get the type at the index N.
 

Static Public Attributes

static constexpr auto Size = sizeof...(Args)
 Number of types.
 

Detailed Description

template<typename... Args>
struct util::meta::Traits< Args >

Empty parameter pack helper type.

Template Parameters
ArgsEmpty parameter pack types.
Author
Andréas Leroux (andre.nosp@m.as.l.nosp@m.eroux.nosp@m.@epi.nosp@m.tech..nosp@m.eu)
Since
1.0.0 (2022-10-28)

Definition at line 28 of file Traits.hpp.

Member Typedef Documentation

◆ Nth

template<typename... Args>
template<std::size_t N>
using util::meta::Traits< Args >::Nth = typename std::tuple_element<N, Tuple>::type

Get the type at the index N.

Definition at line 35 of file Traits.hpp.

◆ Tuple

template<typename... Args>
using util::meta::Traits< Args >::Tuple = std::tuple<Args...>

Get a tuple type containing the types.

Definition at line 30 of file Traits.hpp.

Member Data Documentation

◆ Size

template<typename... Args>
constexpr auto util::meta::Traits< Args >::Size = sizeof...(Args)
staticconstexpr

Number of types.

Definition at line 32 of file Traits.hpp.


The documentation for this struct was generated from the following file: