
27 Sep
2004
27 Sep
'04
2:15 p.m.
Any plans in the future to add reverse iterator support to const_string? I wrote some code to work around the absence of const_reverse_iterator, rbegin(), and rend(), all of which would be nice to have available.
They are there.
Sorry, I meant to say that existing versions of rbegin() and rend() inside const_string template class return reverse_iterator, not const_reverse_iterator. There is a typedef for "reverse_const_iterator", but it is not used by any member functions. At the same time, std::basic_string<> provides const_reverse_iterator, just like all other sequence containers. Igor Kholodov cttl@users.sourceforge.net http://cttl.sourceforge.net/