
8 Nov
2007
8 Nov
'07
3:34 a.m.
on Wed Nov 07 2007, "Peter Dimov"
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