This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: Iterators for basic_string/vector
- To: libstdc++-v3@cygnus.com
- Subject: Re: Iterators for basic_string/vector
- From: Benjamin Kosnik <bkoz@cygnus.com>
- Date: Wed, 6 Jan 1999 16:46:50 -0800 (pst)
[snip]
> To get that, they must be distinct types so that
> trying to do something that should be illegal can in fact be illegal.
I think a lot of this ambiguity will be resolved if specific examples
could be generated. Can you provide some code to illustrate things that
"should be illegal" that are permitted in the current implementation? Both
illegalities between raw pointers and iterator classes, and interator to
const_iterator conversions? I would appreciate it.
-Benjamin