Boost logo

Boost :

From: Igor Kholodov (C.JUMP_at_[hidden])
Date: 2004-09-27 09:15:25


>> 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_at_[hidden]
http://cttl.sourceforge.net/


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk