This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: Iterators for basic_string/vector



[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



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