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