###  | # Boost.Preprocessor ## Header <boost/preprocessor/limits.hpp>

Prev Next Macros Headers

### #define BOOST_PP_LIMIT_DIM

Expands to the number of dimensions of repeat supported by the library.

This concerns the repetition primitives (BOOST_PP_ENUM(), BOOST_PP_REPEAT() and BOOST_PP_REPEAT_FROM_TO()).

### #define BOOST_PP_LIMIT_MAG

Expands to the maximum straight numeric literal supported by the library.

This is also the limit of the repetition primitives (BOOST_PP_ENUM(), BOOST_PP_REPEAT() and BOOST_PP_REPEAT_FROM_TO()).

### Note

- Only decimal integer literals in the range [0, BOOST_PP_LIMIT_MAG] are supported.
- All arithmetic operations (BOOST_PP_ADD(), BOOST_PP_SUB(), BOOST_PP_MUL(), BOOST_PP_DIV()) use saturation arithmetic.
- The maximum repetition count supported by the library may not be reached due to compiler limitations.

### #define BOOST_PP_LIMIT_TUPLE

Expands to the maximum tuple size supported by the library.

Prev Next Macros Headers

Revised

© Copyright Housemarque Oy 2002

Permission to copy, use, modify, sell and distribute this document is granted provided this copyright notice appears in all copies. This document is provided "as is" without express or implied warranty, and with no claim as to its suitability for any purpose.