CaseyCarter added inline comments.
================ Comment at: include/tuple:1015 struct __find_exactly_one_checked { - static constexpr bool __matches[] = {is_same<_T1, _Args>::value...}; +#if defined(__clang__) && __clang_major__ > 5 && __cplusplus > 201402L + // Workaround https://bugs.llvm.org/show_bug.cgi?id=28385 ---------------- mclow.lists wrote: > We try not to have naked tests like this in the code. > > If we have to, maybe: > > `#if defined(_LIBCPP_COMPILER_CLANG) && _LIBCPP_CLANG_VER > 500 && > _LIBCPP_STD_VER > 14` > > but I would rather define a new macro in <__config> and give it a meaningful > name. > Better? https://reviews.llvm.org/D41048 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits