[RFC] Are variadic macros forbidden?
Paolo Carlini
pcarlini@suse.de
Wed Feb 2 18:15:00 GMT 2005
Benjamin Kosnik wrote:
>>a few days ago, only for a couple of hours I had variadic macros in my
>>local tr1/type_traits... I wonder, how do we stand wrt that extension?
>>Shall we do our best to avoid it?
>>
>>
>Dunno. In general, I think we should strive to write standard C++. Where
>that is not possible, or where extensions make a measurable performance
>or functional difference, we should use extensions.
>
>If you think using variadic macros is important or gives libstdc++ some
>kind of advantage, I'd say go for it, or at least explore that option
>and prepare a patch.
>
Ok, I think we agree ;) Currently, I don't really need variadic macros, for
the things I'm working on, I mean. In the future, we'll see...
Paolo.
More information about the Libstdc++
mailing list