3rdParty/boost/1.78.0/libs/preprocessor/doc/ref/rparen.html
The BOOST_PP_RPAREN macro expands to a right parenthesis.
BOOST_PP_RPAREN ()
The preprocessor interprets parentheses as delimiters in macro invocations. Because of this, parentheses require special handling.
Header: <boost/preprocessor/punctuation/paren.hpp>
#include <[boost/preprocessor/facilities/empty.hpp](../headers/facilities/empty.html)>
#include <[boost/preprocessor/punctuation/paren.hpp](../headers/punctuation/paren.html)>
#define X(x) x
#define MACRO(x, p) X ( x p
MACRO(abc,[BOOST\_PP\_RPAREN](rparen.html)()) // expands to abc
#define Y(x)
MACRO([BOOST\_PP\_EMPTY](empty.html)[BOOST\_PP\_RPAREN](rparen.html)()(), 10) // expands to 10
Copyright Housemarque Oy 2002 Copyright Paul Mensonides 2002
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)