Created on 2016-02-29.00:00:00 last changed 89 months ago
Proposed resolution:
This wording is relative to N4582.
Change [vector.data] p1 as indicated:
T* data() noexcept; const T* data() const noexcept;-1- Returns: A pointer such that [data(), data() + size()) is a valid range. For a non-empty vector, data() == addressof(
&front()).
In [vector.data], we have:
Returns: A pointer such that [data(),data() + size()) is a valid range. For a non-empty vector, data() == &front().
This should be:
Returns: A pointer such that [data(),data() + size()) is a valid range. For a non-empty vector, data() == addressof(front()).
History | |||
---|---|---|---|
Date | User | Action | Args |
2017-07-30 20:15:43 | admin | set | status: wp -> c++17 |
2016-06-28 12:50:44 | admin | set | status: ready -> wp |
2016-04-16 04:21:53 | admin | set | status: new -> ready |
2016-04-07 20:14:30 | admin | set | messages: + msg8029 |
2016-02-29 00:00:00 | admin | create |