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
1456. Address constant expression designating the one-past-the-end addressSection: 7.7 [expr.const] Status: CD3 Submitter: Richard Smith Date: 2012-01-14[Moved to DR at the April, 2013 meeting.]
Currently an address constant expression cannot designate the address one past the end of an array. This seems unfortunate.
Proposed resolution (August, 2012):
Change 7.7 [expr.const] paragraph 3 as follows:
...An address constant expression is a prvalue core constant expression of pointer type that evaluates to the address of an object with static storage duration, to the address one past the last element of an array with static storage duration, to the address of a function, or to a null pointer value, or a prvalue core constant expression of type std::nullptr_t...
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