[RFC] Are variadic macros forbidden?
Benjamin Kosnik
bkoz@redhat.com
Wed Feb 2 18:11:00 GMT 2005
> 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.
Not quite sure how useful that is...
best,
benjamin
More information about the Libstdc++
mailing list