#include <boost/preprocessor/tuple/enum.hpp>
#define TUPLE (B,O,O,S,T)
BOOST_PP_TUPLE_ENUM(5,TUPLE) // expands to B, O, O, S, T
// or for the variadic version (v)
BOOST_PP_TUPLE_ENUM(TUPLE) // expands to B, O, O, S, T
Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at www.boost.org/LICENSE_1_0.txt)