C++ Boost

Boost.Preprocessor

Header <boost/preprocessor/inc.hpp>


Prev Next Macros Headers

#define BOOST_PP_INC(X)

Increments X expanding to a single token.

For example, BOOST_PP_INC(3) expands to 4 (a single token).

BOOST_PP_INC() uses saturation arithmetic. Incrementing a BOOST_PP_LIMIT_MAG yields a BOOST_PP_LIMIT_MAG.

Only decimal integer literals in the range [0,BOOST_PP_LIMIT_MAG] are supported.


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.