Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-07-24 12:11:23

Ion Gaztañaga <igaztanaga_at_[hidden]> writes:

> Hi to all,


> The rvalue reference is likely to be accepted for the next standard

> and the standard library is also likely to be modified to implement move

> semantics. Googling around, the only thing I've found related to Boost

> and move semantics is Jonathan Turkanis' Boost Move Ptr

> (


> This move ptr and Howard's unique_ptr emulation code

> ( are

> similar and offer a good new smart pointer. However, I was wondering if

> we could try to sketch an emulation of "std::move()" for objects that

> are not unique_ptr/move_ptr. Something that would allow at least to

> define (portably, perhaps with a macro that in the future, with

> compilers that implement move semantics, can be expanded to the proper

> && signature) move constructors and assignments:

I've been intending to get this into Boost:

You can find a long thread about this work here:

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at