Created on 2020-01-21.00:00:00 last changed 45 months ago
Proposed resolution:
This wording is relative to N4849.
Replace all occurrences of safe_range, enable_safe_range, safe_iterator_t, and safe_subrange_t in the working draft with borrowed_range, enable_borrowed_range, borrowed_iterator_t, and borrowed_subrange_t.
[ 2020-02-13, Prague ]
Set to Immediate.
[ 2020-02-08 Issue Prioritization ]
Priority to 1 after reflector discussion. This issue needs to be looked at by LEWG.
Various WG21 members have commented that the use of "safe" in the names safe_range, enable_safe_range, safe_iterator_t, and safe_subrange_t to mean "fairly unlikely to produce dangling iterators" is inappropriate. The term "safe" has very strong connotations in some application domains, and these names don't intend such connotations. We could avoid confusion by changing these names to avoid the use of "safe". The Ranges Illuminati has deemed "borrowed" to be more appropriate: it reflects the fact that such ranges often "borrow" iterators from an adapted range which allows them to not be lifetime-bound to the adapting range.
History | |||
---|---|---|---|
Date | User | Action | Args |
2021-02-25 10:48:01 | admin | set | status: wp -> c++20 |
2020-02-24 16:02:59 | admin | set | status: immediate -> wp |
2020-02-13 18:18:33 | admin | set | messages: + msg11078 |
2020-02-13 18:18:33 | admin | set | status: lewg -> immediate |
2020-02-08 13:16:52 | admin | set | status: new -> lewg |
2020-02-08 12:06:17 | admin | set | messages: + msg10989 |
2020-01-25 12:22:33 | admin | set | messages: + msg10958 |
2020-01-21 00:00:00 | admin | create |