This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [RFC] Are variadic macros forbidden?
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Wed, 2 Feb 2005 12:11:12 -0600
- Subject: Re: [RFC] Are variadic macros forbidden?
- Organization: Red Hat / Chicago
- References: <4200DFA1.9050208@suse.de>
> 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