#include <boost/preprocessor/set/set.hpp> #define SET (a)(b)(c) BOOST_PP_SET_HEAD(SET) // expands to a BOOST_PP_SET_TAIL(SET) // expands to (b)(c)