
2 Dec
2004
2 Dec
'04
7:22 p.m.
Eric Niebler wrote:
David Abrahams wrote:
Eric Niebler wrote:
You need to use UDTs.
You must've missed my more recent posting which tests UDTs.
That posting is buggy as well. The functions:
int const_rvalue(); x const_rvaluex();
should be:
int const const_rvalue(); x const const_rvaluex();
You're not testing the most interesting case! After this change, the following assert fails:
BOOST_STATIC_ASSERT(IS_RVALUE(const_rvaluex()));
And we're back to square 1. :(
You're right. Sorry for wasting everyone's time. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com