Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-07-15 05:05:08


"Paul Mensonides" <pmenso57_at_[hidden]> writes:

> PY_DEFINE_CONSTANTS_NO_EXPANSION((foo)(bar) BOOST_PP_INTERCEPT_)
>
> The trick here is to get the sequence inside the machinery in a way that allows
> the machinery to prevent it from expanding. That's the trailing 'INTERCEPT_ and
> the 'seq ## 0'. From there, it can be immediately processed with custom
> sequential iteration to make a new sequence with a argument/string pairs.

According to
http://www.boost.org/libs/preprocessor/doc/ref/intercept.html
there's no trailing underscore. Am I missing something?

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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