The BOOST_PP_TUPLE_ENUM
macro converts a tuple to its comma-separated
elements. The comma-separated elements are in the form of variadic
data.
Usage
BOOST_PP_TUPLE_ENUM(
tuple)
(v)
or
BOOST_PP_TUPLE_ENUM(
size,tuple)
(v)
Arguments
- size
- The size of the tuple. The size is ignored.
- tuple
- The tuple whose elements are to be converted.
Remarks
You can
invoke the variadic macro
(v)
as BOOST_PP_TUPLE_ENUM(
tuple) or
BOOST_PP_TUPLE_ENUM(
size,
tuple) for backward
compatibility.
See Also
Requirements
Sample Code
© Copyright Housemarque Oy
2002
© Copyright Paul Mensonides 2002
© Copyright Edward Diener 2011,2013,2020