You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classtuple_size<tcb::span<E, S>> : public integral_constant<size_t, static_cast<size_t>(S)> {};
However, some compilers (e.g. linux/clang6.0) seem to define it as struct not a class:
In file included from /home/travis/miniconda/include/xtl/xspan.hpp:13:
864/home/travis/miniconda/include/xtl/xspan_impl.hpp:763:1: warning: 'tuple_size'
865 defined as a class template here but previously declared as a struct
866 template [-Wmismatched-tags]
867class tuple_size<tcb::span<E, S>> : public integral_constant<size_t, sta...
868^
869/usr/bin/../lib/gcc/x86_64-linux-gnu/5.5.0/../../../../include/c++/5.5.0/tuple:801:5: note:
870 did you mean class here?
871 struct tuple_size;
872 ^
The text was updated successfully, but these errors were encountered:
It appears that
std::tuple_size
is predefined here:xtl/include/xtl/xspan_impl.hpp
Line 763 in 86d8071
However, some compilers (e.g. linux/clang6.0) seem to define it as
struct
not a class:The text was updated successfully, but these errors were encountered: