diff options
Diffstat (limited to 'boost/fusion/container/set/detail')
-rw-r--r-- | boost/fusion/container/set/detail/cpp03/as_set.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/boost/fusion/container/set/detail/cpp03/as_set.hpp b/boost/fusion/container/set/detail/cpp03/as_set.hpp index c9159314b3..ec73a15800 100644 --- a/boost/fusion/container/set/detail/cpp03/as_set.hpp +++ b/boost/fusion/container/set/detail/cpp03/as_set.hpp @@ -25,7 +25,13 @@ namespace boost { namespace fusion { namespace detail BOOST_FUSION_BARRIER_BEGIN template <int size> - struct as_set; + struct as_set + { + BOOST_STATIC_ASSERT_MSG( + size <= FUSION_MAX_SET_SIZE + , "FUSION_MAX_SET_SIZE limit is too low" + ); + }; template <> struct as_set<0> |