The BOOST_PP_TUPLE_REM_CTOR macro removes the parentheses from a tuple.

Usage

BOOST_PP_TUPLE_REM_CTOR(tuple) (v)

or

BOOST_PP_TUPLE_REM_CTOR(size, tuple) (v)

Arguments

size
The size of the tuple from which the parentheses are to be removed.  This argument is ignored.
tuple
The tuple from which the parenthesis are removed.

Remarks

You can invoke the variadic macro (v) as BOOST_PP_TUPLE_REM_CTOR(tuple) or BOOST_PP_TUPLE_REM_CTOR(size,tuple) for backward compatibility.

See Also

Requirements

Header:  <boost/preprocessor/tuple/rem.hpp>

Sample Code

#include <boost/preprocessor/tuple/rem.hpp>

BOOST_PP_TUPLE_REM_CTOR((x, y, z)) // expands to x, y, z

© Copyright Housemarque Oy 2002
© Copyright Paul Mensonides 2002
© Copyright Edward Diener 2011,2013,2020

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)