This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 119a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.
2025-12-20
[Voted into WP at March, 2010 meeting as document N3055.]
A cast to an rvalue reference type produces an rvalue, and rvaluesmust have complete types (7.2.1 [basic.lval] paragraph 9).However, none of the sections dealing with cast operators in7.6.1 [expr.post] require that the referred-to type must becomplete in an rvalue reference cast.
(Note that the approach described forissue 690,in which an rvalue reference type would be essentially an lvalue insteadof an rvalue, would address this issue as well, since lvalues can haveincomplete types.)Proposed resolution (February, 2010):
See paper N3030.