$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (dave_at_[hidden])
Date: 2004-12-02 14:22:39
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