Created on 2024-08-02.00:00:00 last changed 1 month ago
Proposed resolution:
This wording is relative to N4986.
Modify [iterator.range] as indicated:
-1- In addition to being available via inclusion of the <iterator> header, the function templates in [iterator.range] are available when any of the following headers are included: <array> ([array.syn]), <deque> ([deque.syn]), <flat_map> ([flat.map.syn]), <flat_set> ([flat.set.syn]), <forward_list> ([forward.list.syn]), <inplace_vector> ([inplace.vector.syn]), <list> ([list.syn]), <map> ([associative.map.syn]), <optional> ([optional.syn]), <regex> ([re.syn]), <set> ([associative.set.syn]), <span> ([span.syn]), <string> ([string.syn]), <string_view> ([string.view.synop]), <unordered_map> ([unord.map.syn]), <unordered_set> ([unord.set.syn]), and <vector> ([vector.syn]).
[ 2025-11-11; Resolved by P3016R6, approved in Kona. Status changed: New → Resolved. ]
Since optional now provides begin/end members, it is reasonable
to ensure the validity of std::begin/end after including <optional>.
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2025-11-11 12:47:23 | admin | set | messages: + msg15718 |
| 2025-11-11 12:47:23 | admin | set | status: new -> resolved |
| 2024-08-21 19:46:50 | admin | set | messages: + msg14338 |
| 2024-08-03 07:46:03 | admin | set | messages: + msg14306 |
| 2024-08-02 00:00:00 | admin | create | |