Boost logo

Boost :

Subject: Re: [boost] [preprocessor] Warning: Incoming
From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2012-01-18 08:34:33


On Sat, 14 Jan 2012 08:40:31 -0500, Edward Diener wrote:

>> I have a couple of comments:
>
> I am replying about what is on the trunk. I have tried to get Paul
> Mensonides to move the trunk code to release, but he seems to be busy
> and has not been able to do so as yet. I am responsible for the
> documentation for the variadic macro support on the trunk.

I merged it quite a while back now unless I merged it to the wrong place.

>> 1) Are the PP_VARIADIC macros documented?
>
> Yes. Look under the variadic header in the docs and in the reference
> starting with VARIADIC_.
>
>
>> 2) There are some macros like PP_REM and PP_EAT that are defined inside
>> tuple/... even if they do not have the PP_TUPLE_ prefix. They are also
>> not documented. Are these part of the public API? If find these macros
>> useful, I'd move them in facilities/ and document them... (BTW,
>> BOOST_PP_IS_EMPTY is not documented either.)
>
> I am for documenting BOOST_PP_IS_EMPTY, and for providing a better
> version based almost completely on Paul's improvement using variadic
> macros. He may feel different.
>
> As far as the internal PP_REM and PP_EAT Paul did not want them to be
> documented as yet. Hopefully he will respond with his further plans
> about them if any.

The reason REM and EAT are not documented is because they lead to the same
extreme sorts of workarounds in client code as are required in the pp-lib
itself.

Regards,
Paul Mensonides


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk