Created on 2023-04-24.00:00:00 last changed 17 months ago
Proposed resolution:
This wording is relative to N4944.
Modify [sequence.reqmts] as indicated:
a[n]-118- Result: reference; const_reference for constant a
-119-ReturnsEffects: Equivalent to: return *(a.begin() + n); -120- Remarks: Required for basic_string, array, deque, and vector.
[ 2023-06-17 Approved at June 2023 meeting in Varna. Status changed: Voting → WP. ]
[ 2023-05-24; Reflector poll ]
Set status to Tentatively Ready after six votes in favour during reflector poll.
In [sequence.reqmts]/118, we specify what a[n] means for a sequence container a, but we don't state that it actually has preconditions, other than implied ones.
When we want to use implied preconditions, we can actually get them by using the "Effects: Equivalent to..." wording.History | |||
---|---|---|---|
Date | User | Action | Args |
2023-06-19 14:50:03 | admin | set | messages: + msg13655 |
2023-06-19 14:50:03 | admin | set | status: voting -> wp |
2023-06-12 08:52:25 | admin | set | status: ready -> voting |
2023-05-24 14:27:59 | admin | set | messages: + msg13563 |
2023-05-24 14:27:59 | admin | set | status: new -> ready |
2023-04-29 09:23:28 | admin | set | messages: + msg13536 |
2023-04-24 00:00:00 | admin | create |