1 .. Macros/Configuration//BOOST_MPL_LIMIT_STRING_SIZE |65
3 BOOST_MPL_LIMIT_STRING_SIZE
4 ===========================
11 #if !defined(BOOST_MPL_LIMIT_STRING_SIZE)
12 # define BOOST_MPL_LIMIT_STRING_SIZE \\
21 ``BOOST_MPL_LIMIT_STRING_SIZE`` is an overridable configuration macro regulating
22 the maximum arity of the ``string``\ 's |variadic forms|. In this
23 implementation of the library, ``BOOST_MPL_LIMIT_STRING_SIZE`` has a default value
24 of 32. To override the default limit, define ``BOOST_MPL_LIMIT_STRING_SIZE`` to
25 the desired maximum arity before including any library header.
33 #define BOOST_MPL_LIMIT_STRING_SIZE 8
34 ``#``\ include <boost/mpl/string.hpp>
36 using namespace boost::mpl;
38 typedef string<'a'> s_1;
39 typedef string<'abcd','efgh'> s_8;
40 // typedef string<'abcd','efgh','i'> s_9; // error!
46 |Configuration|, |BOOST_MPL_LIMIT_VECTOR_SIZE|
49 .. copyright:: Copyright © 2009 Eric Niebler
50 Distributed under the Boost Software License, Version 1.0. (See accompanying
51 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)