This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Simplifing tuples
- From: Gabriel Dos Reis <gdr at cs dot tamu dot edu>
- To: Chris Jefferson <caj at cs dot york dot ac dot uk>
- Cc: Theodore Papadopoulo <Theodore dot Papadopoulo at sophia dot inria dot fr>,Benjamin Kosnik <bkoz at redhat dot com>, pcarlini at suse dot de,libstdc++ at gcc dot gnu dot org
- Date: 11 Oct 2004 15:45:00 -0500
- Subject: Re: Simplifing tuples
- Organization: Texas A&M University, Department of Computer Science
- References: <200410111631.i9BGV9iA031056@mururoa.inria.fr><416AED5E.7090108@cs.york.ac.uk>
Chris Jefferson <caj@cs.york.ac.uk> writes:
| (perhaps we shouldn't list default template parameters?)
Yes. That is the most important thing to do. My bet is that it is
easier to do with cp/cxx-pretty-print.c than with cp/error.c.
That will be a big improvement. I'm agnostic of any attribute related
kludges.
There is no single algorithm that handles all cases; in some
situations it helps to have the context of instantiations (historical
behaviour); in others, they are just plain noise. My personal
experience is that the later case is far less common than the
previous (even though annoying to advanced template-masochists :-)).
But, hey, I stopped torturing compilers with templates a while ago :-)
-- Gaby