mirror of
https://github.com/boostorg/mp11.git
synced 2025-12-04 15:59:19 +01:00
constexpr tuple<> tp doesn't work on clang < 3.9
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user