There was an error while loading. Please reload this page.
1 parent 47b7f72 commit 9030e35Copy full SHA for 9030e35
1 file changed
test/test_variant.cpp
@@ -30,6 +30,11 @@
30
#include <boost/math/special_functions/next.hpp>
31
#endif
32
33
+#if !defined(BOOST_NO_CXX17_HDR_VARIANT) && defined(BOOST_CLANG) && BOOST_CLANG_VERSION < 70000
34
+// Clang 6.0 can't compile std::visit from libstdc++ 9
35
+# define BOOST_NO_CXX17_HDR_VARIANT
36
+#endif
37
+
38
#if defined(BOOST_NO_STDC_NAMESPACE)
39
namespace std {
40
using ::remove;
0 commit comments