1 #ifndef BOOST_PREPROCESSOR_LIMITS_HPP
2 #define BOOST_PREPROCESSOR_LIMITS_HPP
6 * http://www.housemarque.com
8 * Permission to copy, use, modify, sell and distribute this software is
9 * granted provided this copyright notice appears in all copies. This
10 * software is provided "as is" without express or implied warranty, and
11 * with no claim as to its suitability for any purpose.
13 * See http://www.boost.org for most recent version.
16 /** <p>Expands to the number of dimensions of repeat supported by the
19 <p>This concerns the repetition primitives (BOOST_PP_ENUM(),
20 BOOST_PP_REPEAT() and BOOST_PP_REPEAT_FROM_TO()).</p>
22 #define BOOST_PP_LIMIT_DIM 3
24 /** <p>Expands to the maximum straight numeric literal supported by the
27 <p>This is also the limit of the repetition primitives (BOOST_PP_ENUM(),
28 BOOST_PP_REPEAT() and BOOST_PP_REPEAT_FROM_TO()).</p>
32 <li>Only decimal integer literals in the range [0, BOOST_PP_LIMIT_MAG]
34 <li>All arithmetic operations (BOOST_PP_ADD(), BOOST_PP_SUB(),
35 BOOST_PP_MUL(), BOOST_PP_DIV()) use saturation arithmetic.</li>
36 <li>The maximum repetition count supported by the library may not be reached
37 due to compiler limitations.</li>
40 #define BOOST_PP_LIMIT_MAG 128
42 /** <p>Expands to the maximum tuple size supported by the library.</p> */
43 #define BOOST_PP_LIMIT_TUPLE 32