diff --git a/include/tcb/span.hpp b/include/tcb/span.hpp index 1370677..f66b8ed 100644 --- a/include/tcb/span.hpp +++ b/include/tcb/span.hpp @@ -753,6 +753,10 @@ constexpr auto get(span s) -> decltype(s[N]) namespace std { +#ifdef __clang__ +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wmismatched-tags" +#endif template class tuple_size> : public integral_constant {}; @@ -764,6 +768,9 @@ class tuple_element> { public: using type = E; }; +#ifdef __clang__ +#pragma clang diagnostic pop +#endif } // end namespace std