This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 117b. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-08-11
1442. Argument-dependent lookup in the range-based forSection: 8.6.5 [stmt.ranged] Status: CD3 Submitter: Mike Miller Date: 2012-01-16[Moved to DR at the April, 2013 meeting.]
It is not clear whether the reference to argument-dependent lookup in 8.6.5 [stmt.ranged] bullet 1.3 should be “pure” argument-dependent lookup (with no unqualified name lookup component) or the usual lookup that is invoked when argument-dependent lookup is done, i.e., unqualified lookup, potentially augmented by the associated namespaces.
Proposed resolution (October, 2012):
Change 8.6.5 [stmt.ranged] bullet 1.3 as follows:
otherwise, begin-expr and end-expr are begin(__range) and end(__range), respectively, where begin and end are looked up with argument-dependent lookup in the associated namespaces (6.5.4 [basic.lookup.argdep]). For the purposes of this name lookup, namespace std is an associated namespace. [Note: Ordinary unqualified lookup (6.5.3 [basic.lookup.unqual]) is not performed. —end note]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4