#include <boost/preprocessor/arithmetic/inc.hpp> BOOST_PP_INC(BOOST_PP_INC(6)) // expands to 8 BOOST_PP_INC(4) // expands to 5