From 92e33bb974b2c8d2bbd5caf16659a9efe3c571e8 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Wed, 24 Dec 2025 20:02:06 +0000 Subject: [PATCH] Added member type_list type to tuple --- include/etl/tuple.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/etl/tuple.h b/include/etl/tuple.h index c4a9440b..2dd4971e 100644 --- a/include/etl/tuple.h +++ b/include/etl/tuple.h @@ -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; ///< The type of this tuple. using base_type = tuple; ///< 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()>; ///< The index_sequence type for this tuple. //*********************************