Created on 2009-04-07.00:00:00 last changed 179 months ago
[Voted into WP at March, 2010 meeting as document N3055.]
Proposed resolution (February, 2010):
See paper N3030.
A cast to an rvalue reference type produces an rvalue, and rvalues must have complete types (7.2.1 [basic.lval] paragraph 9). However, none of the sections dealing with cast operators in 7.6.1 [expr.post] require that the referred-to type must be complete in an rvalue reference cast.
(Note that the approach described for issue 690, in which an rvalue reference type would be essentially an lvalue instead of an rvalue, would address this issue as well, since lvalues can have incomplete types.)History | |||
---|---|---|---|
Date | User | Action | Args |
2010-03-29 00:00:00 | admin | set | messages: + msg2673 |
2010-03-29 00:00:00 | admin | set | status: review -> cd2 |
2010-02-16 00:00:00 | admin | set | messages: + msg2528 |
2010-02-16 00:00:00 | admin | set | status: open -> review |
2009-04-07 00:00:00 | admin | create |