File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/core/include/mp-units/bits Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ using type_list_map = type_list_map_impl<From, To>::type;
7272
7373
7474// element
75- #ifdef __cpp_pack_indexing
75+ #if defined( __cpp_pack_indexing) && __cplusplus > 202302
7676
7777// C++26: Pack indexing (P2662) gives a compiler-native O(1) element access,
7878// eliminating the indexed_type_list multiple-inheritance machinery entirely.
@@ -174,7 +174,7 @@ using type_list_join = type_list_join_impl<Lists...>::type;
174174template <typename List, typename First, typename Second>
175175struct type_list_split_impl ;
176176
177- #ifdef __cpp_pack_indexing
177+ #if defined( __cpp_pack_indexing) && __cplusplus > 202302
178178
179179// C++26: Direct pack indexing avoids building an indexed_type_list (N base classes)
180180// and then re-traversing it for every element of both output lists.
You can’t perform that action at this time.
0 commit comments