Iterator class for vector and basic_string

Nathan Myers ncm@best.com
Sat Oct 31 10:54:00 GMT 1998


Ryszard Kabatek wrote:

> I wrote an iterator class for std::vector<> and std::basic_string<>.
> 
> If You mean it's OK I will make a patch.

It looks good.  Before we can use it we need to go through basic_string<> 
and find the (many) places where it abuses the iterator as a pointer, and 
clean those up.  Nowadays, BTW, we have to derive iterator classes from 
std::iterator<>.

Nathan Myers
ncm@cantrip.org




More information about the Libstdc++ mailing list