Created on 2016-04-14.00:00:00 last changed 89 months ago
Proposed resolution:
Change [structure.specifications]/4 as indicated:
"[…] if F has no Returns: element, a non-void return from F is specified by the
Returns: elementsreturn statements in the code sequence."
Add two return keywords to [string.access]:
const charT& front() const; charT& front();-7- Requires:
!empty()
.-8- Effects: Equivalent to
return operator[](0)
.const charT& back() const; charT& back();-9- Requires:
!empty()
.-10- Effects: Equivalent to
return operator[](size() - 1)
.
[ 2016-08-03 Chicago ]
Fri PM: Move to Tentatively Ready
[ 2016-04, Issues Telecon ]
The PR is fine; but bullet #1 in the report really should have a list of places to change.
Jonathan checked throughout the library for bullet #2 and found two problems in [string.access], which have been added to the PR.Some Effects: were intended to include the "Equivalent to" phrasing where no or different words were used. See examples in std::filesystem and throughout the library.
The wording in [structure.specifications]/4 is incorrect and Effects: throughout the library which use (or were intended to use) the "Equivalent to" phrasing need to be checked to make sure they fit the intended wording.
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-07-30 20:15:43 | admin | set | status: wp -> c++17 |
2016-11-14 03:59:28 | admin | set | status: pending -> wp |
2016-11-14 03:55:22 | admin | set | status: ready -> pending |
2016-08-06 21:12:20 | admin | set | messages: + msg8446 |
2016-08-06 21:12:20 | admin | set | status: new -> ready |
2016-04-16 04:21:53 | admin | set | messages: + msg8055 |
2016-04-15 06:19:02 | admin | set | messages: + msg8052 |
2016-04-14 00:00:00 | admin | create |