Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3552: concatenation does not work with BOOST_PP_COMMA() with g++
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-03-25 20:47:27
#3552: concatenation does not work with BOOST_PP_COMMA() with g++
------------------------------------+---------------------------------------
Reporter: mkraemer@⦠| Owner: no-maintainer
Type: Support Requests | Status: closed
Milestone: Boost 1.41.0 | Component: preprocessor
Version: Boost 1.40.0 | Severity: Problem
Resolution: invalid | Keywords:
------------------------------------+---------------------------------------
Changes (by danieljames):
* status: new => closed
* resolution: => invalid
Comment:
You can't concatenate with a comma in the C preprocessor since
concatenation has to create a single token and `test,` is two tokens. The
Visual C++ preprocessor is not following the standard when it allows it.
There's not really any point in concatenating `test` and `BOOST_PP_COMMA`,
since you can just write:
{{{
test BOOST_PP_COMMA()
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3552#comment:2> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC