mirror of
https://github.com/ETLCPP/etl.git
synced 2026-06-16 17:06:05 +08:00
Added member type_list type to tuple
This commit is contained in:
parent
c67c617d8c
commit
92e33bb974
@ -45,6 +45,7 @@ SOFTWARE.
|
||||
#include "type_traits.h"
|
||||
#include "utility.h"
|
||||
#include "functional.h"
|
||||
#include "type_list.h"
|
||||
|
||||
#include "private/tuple_element.h"
|
||||
#include "private/tuple_size.h"
|
||||
@ -131,6 +132,7 @@ namespace etl
|
||||
using value_type = void; ///< The type contained by this tuple.
|
||||
using this_type = tuple<>; ///< The type of this tuple.
|
||||
using base_type = void; ///< The type of the base tuple.
|
||||
using type_list = etl::type_list<>; ///< The type list for this tuple.
|
||||
using index_sequence_type = etl::make_index_sequence<0>; ///< The index_sequence type for this tuple.
|
||||
|
||||
//*********************************
|
||||
@ -233,6 +235,7 @@ namespace etl
|
||||
using value_type = THead; ///< The type contained by this tuple.
|
||||
using this_type = tuple<THead, TTail...>; ///< The type of this tuple.
|
||||
using base_type = tuple<TTail...>; ///< The type of the base tuple.
|
||||
using type_list = etl::type_list<THead, TTail...>; ///< The type list for this tuple.
|
||||
using index_sequence_type = etl::make_index_sequence<number_of_types<THead, TTail...>()>; ///< The index_sequence type for this tuple.
|
||||
|
||||
//*********************************
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user