@@ -1909,30 +1909,27 @@ namespace xt
1909
1909
# pragma clang diagnostic ignored "-Wmismatched-tags"
1910
1910
#endif
1911
1911
1912
- namespace std
1912
+ template <class T , std::size_t N>
1913
+ class std ::tuple_size<xt::const_array<T, N>> :
1914
+ public std::integral_constant<std::size_t , N>
1913
1915
{
1914
- template <class T , std::size_t N>
1915
- class tuple_size <xt::const_array<T, N>> :
1916
- public integral_constant<std::size_t , N>
1917
- {
1918
- };
1916
+ };
1919
1917
1920
- template <std::size_t ... N>
1921
- class tuple_size <xt::fixed_shape<N...>> :
1922
- public integral_constant<std::size_t , sizeof ...(N)>
1923
- {
1924
- };
1918
+ template <std::size_t ... N>
1919
+ class std :: tuple_size<xt::fixed_shape<N...>> :
1920
+ public std:: integral_constant<std::size_t , sizeof ...(N)>
1921
+ {
1922
+ };
1925
1923
1926
- template <class T , std::ptrdiff_t Start, std::ptrdiff_t End>
1927
- class tuple_size <xt::sequence_view<T, Start, End>> :
1928
- public integral_constant<std::size_t , std::size_t (End - Start)>
1929
- {
1930
- };
1924
+ template <class T , std::ptrdiff_t Start, std::ptrdiff_t End>
1925
+ class std :: tuple_size<xt::sequence_view<T, Start, End>> :
1926
+ public std:: integral_constant<std::size_t , std::size_t (End - Start)>
1927
+ {
1928
+ };
1931
1929
1932
- // Undefine tuple size for not-known sequence view size
1933
- template <class T , std::ptrdiff_t Start>
1934
- class tuple_size <xt::sequence_view<T, Start, -1 >>;
1935
- }
1930
+ // Undefine tuple size for not-known sequence view size
1931
+ template <class T , std::ptrdiff_t Start>
1932
+ class std ::tuple_size<xt::sequence_view<T, Start, -1 >>;
1936
1933
1937
1934
#if defined(__clang__)
1938
1935
# pragma clang diagnostic pop
0 commit comments