
2 Dec
2004
2 Dec
'04
6:49 p.m.
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. :( -- Eric Niebler Boost Consulting www.boost-consulting.com