
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 Boost.Preprocessor?
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++). Regards, Paul Mensonides