12345678910111213141516171819202122232425262728293031 |
- #ifndef BOOST_METAPARSE_V1_IMPL_ASSERT_STRING_LENGTH_HPP
- #define BOOST_METAPARSE_V1_IMPL_ASSERT_STRING_LENGTH_HPP
- #include <boost/static_assert.hpp>
- namespace boost
- {
- namespace metaparse
- {
- namespace v1
- {
- namespace impl
- {
- template <int Len, class S>
- struct assert_string_length : S
- {
- BOOST_STATIC_ASSERT((Len <= BOOST_METAPARSE_LIMIT_STRING_SIZE));
- };
- }
- }
- }
- }
- #endif
|