The BOOST_PP_SEQ_TO_TUPLE macro converts a seq to an tuple.

Usage

BOOST_PP_SEQ_TO_TUPLE(seq)

Arguments

seq
The seq to be converted.

Requirements

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

Sample Code

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

#define SEQ (a)(b)(c)

BOOST_PP_SEQ_TO_TUPLE(SEQ) // expands to (a, b, c)