diff --git a/include/etl/type_list.h b/include/etl/type_list.h index 667e2a06..820d2265 100644 --- a/include/etl/type_list.h +++ b/include/etl/type_list.h @@ -333,18 +333,16 @@ namespace etl /// Declares a new type_list by selecting types from a given type_list, according to an index sequence. //*************************************************************************** template - struct type_list_select_from_sequence; + struct type_list_select_from_index_sequence; template - struct type_list_select_from_sequence> + struct type_list_select_from_index_sequence> { using type = etl::type_list_select_t; }; -#if ETL_USING_CPP11 template - using type_list_select_from_sequence_t = typename type_list_select_from_sequence::type; -#endif + using type_list_select_from_index_sequence_t = typename type_list_select_from_index_sequence::type; //*************************************************************************** /// Concatenates two or more type_lists. @@ -425,8 +423,8 @@ namespace etl using index_sequence_for_prefix = etl::make_index_sequence; using index_sequence_for_suffix = etl::make_index_sequence_with_offset::value - Index>; - using prefix = etl::type_list_select_from_sequence_t; - using suffix = etl::type_list_select_from_sequence_t; + using prefix = etl::type_list_select_from_index_sequence_t; + using suffix = etl::type_list_select_from_index_sequence_t; public: