NDDEM
Public Types | Static Public Member Functions | List of all members
cereal::tuple_detail::tuple_element_name< T > Struct Template Reference

Generates a c string for a given index of a tuple. More...

#include <tuple.hpp>

Public Types

using type = typename to_string_impl< T/10, T%10 >::type
 

Static Public Member Functions

static const type::arr_type c_str ()
 

Detailed Description

template<size_t T>
struct cereal::tuple_detail::tuple_element_name< T >

Generates a c string for a given index of a tuple.

Example use:

tuple_element_name<3>::c_str();// returns "tuple_element3"
static const type::arr_type c_str()
Definition: tuple.hpp:87

Member Typedef Documentation

◆ type

template<size_t T>
using cereal::tuple_detail::tuple_element_name< T >::type = typename to_string_impl<T/10, T%10>::type

Member Function Documentation

◆ c_str()

template<size_t T>
static const type::arr_type cereal::tuple_detail::tuple_element_name< T >::c_str ( )
inlinestatic

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