Subject: Re: [boost] [preprocessor] pp-strings
From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2011-06-26 08:42:37
On Mon, 20 Jun 2011 22:08:13 -0400, Lorenzo Caminiti wrote:
> Hello all,
> As I understand it, Boost.Preprocessor was largely based on another
> preprocessor library from the same authors named CHAOS. Is this correct?
> Do you know where I can find CHAOS source and its documentation?
> Specifically, I am curious if CHAOS supports "pp space-separated
> strings" -- i.e., macros like the followings:
> PP_STRING_CAT( b o o s t ) // expand to `boost` PP_STRING_AT(3, b o o s
> t ) // expand to `s` etc...
> If yes, why were these pp-strings not ported from CHAOS to
As Hartmut indicated, Chaos was developed after (and was loosely based
on) Boost.Preprocessor. However, unlike Boost.Preprocessor, Chaos
targets standard C and C++ (not particular compilers) and is therefore
not limited by broken preprocessors (e.g. VC++).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk