This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: Template problem (from `iterator_traits')


|> > 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"



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