This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 117a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-04-13
1362. Complete type required for implicit conversion to T&Section: 6.3 [basic.def.odr] Status: CD3 Submitter: Richard Smith Date: 2011-08-16[Voted into the WP at the February, 2012 meeting; moved to DR at the October, 2012 meeting.]
The requirement in 6.3 [basic.def.odr] paragraph 4 that a type T must be complete if an expression is implicitly converted to a pointer to T or reference to T inadvertently applies to user-defined conversions, although it was intended only to refer to built-in conversions.
Proposed resolution (August, 2011):
Change the indicated bullet of 6.3 [basic.def.odr] paragraph 4 as follows:
an expression that is not a null pointer constant, and has type other than cvvoid*, is converted to the type pointer to T or reference to T using an implicit a standard conversion ( 7.3 [conv]), a dynamic_cast (7.6.1.7 [expr.dynamic.cast]) or a static_cast (7.6.1.9 [expr.static.cast]), or
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