Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-09-15 14:16:47


"Neal D. Becker" <nbecker_at_[hidden]> writes:

> This handy little item, lvalue_cast, would make a useful addition to boost. I
> didn't write it, and I don't recall who did.

The problem with that is that casting away the const on a const rvalue
is sometimes unsafe. See the original move semantics proposal for details.

-- 
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