This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/23767] std::vector iterator implementation wrong
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2005 19:33:10 -0000
- Subject: [Bug libstdc++/23767] std::vector iterator implementation wrong
- References: <20050907170304.23767.afra@cs.stanford.edu>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pcarlini at suse dot de 2005-09-07 19:33 -------
(In reply to comment #2)
> Unfortunatly I don't believe thats possible without passing
> extra information by more template parameters, which would break binary
> compatability.
I'm not going to discuss now the substance of this issue (hopefully soon!)
but I don't think the binary compatibility thing is obviously true. When
two different object modules are built, each one can use the appropriate
constructor, and there are no risks of mixups when (possible) weak symbols
are merged because the signatures would be different in this case (a very
nasty issue instead is when you change *only* the return type of a function,
in that case, as Geoff kindly reminded us, there are risks because the sig
is the same!)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23767