Subject: Re: [boost] [preprocessor] [config] Support for variadic macros
From: Stefan Strasser (strasser_at_[hidden])
Date: 2010-08-06 07:19:19
Zitat von Edward Diener <eldiener_at_[hidden]>:
>>> What is the boost macro which can be used to determine whether or not
>>> a compiler supports variadic macros ? I looked at the config macros
>>> but could not find the necessary macro documented there.
>> there is none to my knowledge.
> If there is none, then obviously Boost code can not currently use
> variadic macros for anything.
>> if one is being added, please also take this MSVC bug into account:
> Welcome to the world of "Unfortunately it does not meet the triage
> bar for the current release of Visual C++". It's the standard reply
> in my own experience. No wonder Boost does not worry about using
> variadic macros yet.
someone there has submitted a workaround for this bug. I've tried it,
it looks sufficient to implement macros like BOOST_PP_TUPLE_*, but
variadic, without the "size" parameter for MSVC (and C99/C++0x)