Add test/mp_repeat_3.cpp

This commit is contained in:
Peter Dimov
2023-05-16 17:02:38 +03:00
parent ddd2ad7bb6
commit efbaa77749
3 changed files with 47 additions and 1 deletions
+4 -1
View File
@@ -20,7 +20,10 @@ namespace mp11
namespace detail
{
#if defined( BOOST_MP11_HAS_FOLD_EXPRESSIONS ) && !BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, < 1920 )
#if defined( BOOST_MP11_HAS_FOLD_EXPRESSIONS ) && !BOOST_MP11_WORKAROUND( BOOST_MP11_MSVC, != 0 ) && !BOOST_MP11_WORKAROUND( BOOST_MP11_CLANG, != 0 )
// msvc fails with parser stack overflow for large sizeof...(T)
// clang exceeds -fbracket-depth, which defaults to 256
template<class... T> struct mp_plus_impl
{