-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Rush Manbert
That. Is. So. Cool! No inner macros to redefine, and you can wrap the enum declaration in a macro that takes CODE_TABLE (or whatever the developer calls it) as a parameter. Same for the array definition. This is a big improvement on the original version. Thank you for the great help.
You are welcome.
I was unfamiliar with Chaos, but the code snippets looked interesting. I found the project on SourceForge. Will there be a release sometime?
Eventually. Chaos is a much more advanced version of the Boost pp-lib. However, it may not suit your needs in any case because it contains no workarounds for broken preprocessors (nor will it). This severly limits its portability. The Boost pp-lib, while inferior in every way, contains *extensive* workarounds for broken preprocessors, and it has enough power to do what people usually use preprocessor metaprogramming for. It just isn't always as pretty. Regards, Paul Mensonides