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
1398. Non-type template parameters of type std::nullptr_tSection: 13.4.3 [temp.arg.nontype] Status: CD3 Submitter: Daniel Krügler Date: 2011-09-27[Moved to DR at the October, 2012 meeting.]
Although 13.2 [temp.param] paragraph 4 explicitly allows non-type template parameters of type std::nullptr_t, they cannot actually be used: 13.4.3 [temp.arg.nontype] paragraph 1 does not allow a template-argument of type std::nullptr_t, and paragraph 5 does not describe any conversions from other types to std::nullptr_t.
Proposed resolution (February, 2012):
Add the following new bullet in 13.4.3 [temp.arg.nontype] paragraph 1:
...
a pointer to member expressed as described in 7.6.2.2 [expr.unary.op].
an address 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