Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions include/stdx/type_traits.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,10 @@ STDX_PRAGMA(diagnostic ignored "-Wc++26-extensions")
#endif
template <unsigned int N, typename... Ts>
using nth_t =
#if __cpp_pack_indexing >= 202311L
Ts...[N];
#elif __has_builtin(__type_pack_element)
#if __has_builtin(__type_pack_element)
__type_pack_element<N, Ts...>;
#elif __cpp_pack_indexing >= 202311L
Ts...[N];
#else
boost::mp11::mp_at_c<type_list<Ts...>, N>;
#endif
Expand Down