Created on 2009-01-16.00:00:00 last changed 144 months ago
Proposed resolution:
Change [specialized.addressof]:
template <ObjectType T> T* addressof(T& r);template <ObjectType T> T* addressof(T&& r);
[ 2009-11-18 Moved from Pending WP to WP. Confirmed in N3000. ]
[ Batavia (2009-05): ]
We agree with the proposed resolution. Move to Tentatively Ready.
[ Post Summit: ]
Recommend Review.
[specialized.addressof] specifies:
template <ObjectType T> T* addressof(T& r); template <ObjectType T> T* addressof(T&& r);
The two signatures are ambiguous when the argument is an lvalue. The second signature seems not useful: what does it mean to take the address of an rvalue?
History | |||
---|---|---|---|
Date | User | Action | Args |
2013-01-25 00:32:44 | admin | set | messages: + msg6350 |
2013-01-25 00:32:44 | admin | set | messages: + msg6349 |
2013-01-25 00:32:44 | admin | set | messages: + msg6348 |
2013-01-25 00:32:44 | admin | set | messages: + msg6347 |
2009-01-16 00:00:00 | admin | create |