Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2007-11-07 22:34:07


on Wed Nov 07 2007, "Peter Dimov" <pdimov-AT-pdimov.com> wrote:

> David Abrahams:
>
>> It's certainly legal and meaningful to return a const rvalue, so I'm
>> very confused about your report.
>
> Only for a class type, see 3.10/9.

Oy, really? :(

That's a silly nonuniformity, but I guess it points to a problem in
the library.

Benoit, I could attempt a fix, but I would really appreciate having a
testcase that fails to compile before I try to fix the library. Can
you open a Trac ticket at http://svn.boost.org and, if possible,
attach a small example of code that reveals the problem?

Thanks,

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net