This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of Resolved status.
Section: 23 [strings] Status: Resolved Submitter: Jeffrey Yasskin Opened: 2016-12-09 Last modified: 2018-11-25
Priority: 3
View all other issues in [strings].
View all issues with Resolved status.
Discussion:
Reported via editorial issue #165:
The following places should probably use the "Equivalent to" wording introduced in [structure.specifications]/4.
[string.cons]/18
Effects: Same as basic_string(il.begin(), il.end(), a).
[string.capacity]/3
Returns: size().
[string.capacity]/8
Effects: As if by resize(n, charT()).
[string.capacity]/16
Effects: Behaves as if the function calls: erase(begin(), end());
[string.capacity]/17
Returns: size() == 0.
[string.insert]/27
Effects: As if by insert(p, il.begin(), il.end()).
Returns: An iterator which refers to the copy of the first inserted character, or p if i1 is empty.
[2017-01-27 Telecon]
Priority 3; Marshall to provide wording.
Resolved by the adoption of P1148 in San Diego.
Proposed resolution: