This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFC] Are variadic macros forbidden?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]