
On 8/7/2010 6:35 AM, Edward Diener wrote:
If Boost had a configuration macro indicating which compilers support variadic macros, would this help the preprocessor library any in implementing functionality ? Or do you see implementing certain preprocessor functionality for only the subset of compilers that support variadic macros not worthwhile ?
I wouldn't say "not worthwhile", but the variadic support would be minimal unless large chunks of the API are designed for it. What I noticed when writing Chaos is that to really get the benefits of variadics, you need to alter the a lot of stuff. Specifically, in how it relates to compatibility, you need to alter parameter orders all over the place since the set of variadic arguments are always the last. Regards, Paul Mensonides