The BOOST_PP_SET_TO_TUPLE macro converts a set to an tuple.

Usage

BOOST_PP_SET_TO_TUPLE(set)

Arguments

set
The set to be converted.

Requirements

Header:  <boost/preprocessor/set/to_tuple.hpp>

Sample Code

#include <boost/preprocessor/set/to_tuple.hpp>

#define SET (a)(b)(c)

BOOST_PP_SET_TO_TUPLE(SET) // expands to (a, b, c)