This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: Template problem (from `iterator_traits')
- To: Martin von Loewis <martin at mira dot isdn dot cs dot tu-berlin dot de>
- Subject: Re: Template problem (from `iterator_traits')
- From: "Lassi A. Tuura" <lat at iki dot fi>
- Date: Mon, 9 Nov 1998 07:38:42 +0100 (CET)
- cc: egcs-bugs at cygnus dot com
- Reply-To: "Lassi A. Tuura" <lat at iki dot fi>
|> > I report the following problem but I have no idea whether it is bug in
|> > the code or in the compilers;
|>
|> It is a bug in the code.
|>
|> > std::iterator_traits<X::I>::value_type v = 10;
Yes, you are absolutely right, I realised that shortly after sending the
mail. I don't know how I got my thoughts so messed up. Sorry for the
confusion.
Cheers,
//lat
--
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead. --RFC1925, "The Twelve Networking Truths"