Subject: Re: [boost] [preprocessor] [config] Support for variadic macros
From: Paul Mensonides (pmenso57_at_[hidden])
Date: 2010-08-07 16:07:16
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk