1 #ifndef BOOST_METAPARSE_V1_IMPL_ASSERT_STRING_LENGTH_HPP
2 #define BOOST_METAPARSE_V1_IMPL_ASSERT_STRING_LENGTH_HPP
4 // Copyright Abel Sinkovics (abel@sinkovics.hu) 2014.
5 // Distributed under the Boost Software License, Version 1.0.
6 // (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
9 #include <boost/static_assert.hpp>
19 template <int Len, class S>
20 struct assert_string_length : S
22 BOOST_STATIC_ASSERT((Len <= BOOST_METAPARSE_LIMIT_STRING_SIZE));