string::const_reverse_iterator repaired

This commit is contained in:
Frank B. Brokken 2023-09-15 15:29:29 +02:00
parent 712e82bfc5
commit 18b4df545d
2 changed files with 3 additions and 3 deletions

View file

@ -15,7 +15,7 @@ hi(string: iterator types)em(iterator types):
tt(const_iterator) is returned by tt(string const) objects, the plain
tt(iterator) is returned by non-const string objects. Characters referred to
by tt(iterators) may be modified;)
itt(string::reverse_iterator) and tt(string::reverse_const_iterator):
itt(string::reverse_iterator) and tt(string::const_reverse_iterator):
quote(these iterators are also emi(forward iterators) but when
em(incrementing) the iterator the em(previous) character in the string object
is reached. Other than that they are comparable to, respectively,

View file

@ -276,11 +276,11 @@ otherwise.
ithtq(rbegin)(string::reverse_iterator rbegin())
(a reverse iterator referring to the last character of the current
string object is returned. With tt(const) string objects a
tt(reverse_const_iterator) is returned.)
tt(const_reverse_iterator) is returned.)
ithtq(rend)(string::reverse_iterator rend())
(a reverse iterator referring to the position just before the first
character of the current string object is returned. With tt(const)
string objects a tt(reverse_const_iterator) is returned.)
string objects a tt(const_reverse_iterator) is returned.)
ithtq(replace)(string &replace(size_t opos, size_t on, string const
&argument, size_type apos, size_type an))
(a (sub)string of characters in tt(object) are replaced by the (subset