From 01f376b83dcbdd11a6b550f26e1b4c603a52873c Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 15 Nov 2016 20:23:06 +0200 Subject: [PATCH] Disable std::tuple test on clang++ below 3.8 --- test/tuple_for_each.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/tuple_for_each.cpp b/test/tuple_for_each.cpp index 325a51e..97de4a7 100644 --- a/test/tuple_for_each.cpp +++ b/test/tuple_for_each.cpp @@ -36,6 +36,9 @@ int main() } } +#if defined( __clang_major__ ) && __clang_major__ == 3 && __clang_minor__ < 8 +#else + { std::tuple, std::unique_ptr, std::unique_ptr> tp{ std::unique_ptr(new int(1)), std::unique_ptr(new int(2)), std::unique_ptr(new int(3)) }; @@ -46,6 +49,8 @@ int main() BOOST_TEST_EQ( s, 123 ); } +#endif + { std::pair tp{ 1, 2 };