|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2004-12-02 10:36:57
Eric Niebler wrote:
> David Abrahams wrote:
>
>> David Abrahams wrote:
>>
>>> Still no dice for vc7.1, though.
>>
>>
>>
>> Hum, that was too easy:
>>
>
> For every difficult problem, there is a solution that is simple, elegant
> .... and wrong. Correct version below fails. :( You can't use int for
> this test because the "const" is ignored in "int const const_rvalue()".
> You need to use UDTs.
You must've missed my more recent posting which tests UDTs.
-- Dave Abrahams Boost Consulting http://www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk