From 55da732fc828f36ef3afc074c6f3f344836471b8 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Thu, 19 Feb 2026 19:23:36 +0000 Subject: [PATCH] Renamed type_list_prepend & type_list_append to type_list_push_front & type_list_push_back respectively --- include/etl/type_list.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/include/etl/type_list.h b/include/etl/type_list.h index 3030efcd..376c79b7 100644 --- a/include/etl/type_list.h +++ b/include/etl/type_list.h @@ -368,46 +368,46 @@ namespace etl using type_list_cat_t = typename type_list_cat::type; //*************************************************************************** - /// Prepend a type to a type_list. + /// Add a type to the beginning of a type_list. //*************************************************************************** template - struct type_list_prepend; + struct type_list_push_front; template - struct type_list_prepend, T> + struct type_list_push_front, T> { using type = type_list; }; template - struct type_list_prepend + struct type_list_push_front { using type = etl::type_list; }; template - using type_list_prepend_t = typename type_list_prepend::type; + using type_list_prepend_t = typename type_list_push_front::type; //*************************************************************************** - /// Append a type to a type_list. + /// Add a type to the end of a type_list. //*************************************************************************** template - struct type_list_append; + struct type_list_push_back; template - struct type_list_append, T> + struct type_list_push_back, T> { using type = type_list; }; template - struct type_list_append + struct type_list_push_back { using type = etl::type_list; }; template - using type_list_append_t = typename type_list_append::type; + using type_list_append_t = typename type_list_push_back::type; //*************************************************************************** /// Insert a type at an index in a type_list.