#include <boost/preprocessor/control/if.hpp> BOOST_PP_IF(10, a, b) // expands to a BOOST_PP_IF(0, a, b) // expands to b