1
0
forked from boostorg/mp11

constexpr tuple<> tp doesn't work on clang < 3.9

This commit is contained in:
Peter Dimov
2017-05-13 00:14:26 +03:00
parent 893d84fda2
commit 88dceba219

View File

@@ -37,11 +37,16 @@ int main()
(void)r;
}
#if defined( __clang_major__ ) && __clang_major__ == 3 && __clang_minor__ < 9
#else
{
constexpr std::tuple<> tp;
constexpr auto r = boost::tuple_for_each( tp, 11 );
static_assert( r == 11, "r == 11" );
}
#endif
}
#endif