Title
basic_string::find_last_of, find_last_not_of say pos instead of xpos
Status
tc1
Section
[string.insert] [string.replace]
Submitter
Arch Robison

Created on 1999-04-28.00:00:00 last changed 171 months ago

Messages

Date: 2010-10-21.18:28:33

Proposed resolution:

Change Sections 21.3.6.4 paragraph 1 and 21.3.6.6 paragraph 1, the line which says:

— xpos <= pos and pos < size();

to:

— xpos <= pos and xpos < size();

Date: 2010-10-21.18:28:33

[ Judy Ward also sent in this issue for 21.3.6.4 with the same proposed resolution. ]

Date: 1999-04-28.00:00:00

Sections 21.3.6.4 paragraph 1 and 21.3.6.6 paragraph 1 surely have misprints where they say:

— xpos <= pos and pos < size();

Surely the document meant to say ``xpos < size()'' in both places.

History
Date User Action Args
2010-10-21 18:28:33adminsetmessages: + msg1666
2010-10-21 18:28:33adminsetmessages: + msg1665
1999-04-28 00:00:00admincreate