D's equivalent to C++'s std::move?

Andrei Alexandrescu via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 3 19:54:37 PST 2016


On 02/03/2016 10:45 PM, maik klein wrote:
> It might still be the case that I am missing something obvious here.

You're not. The situation with noncopyable types is similar to that in 
C++ pre-11: people could define them, but the stdlib implementation 
wasn't supporting them in all places possible.

This is not difficult - all we need is to figure which library 
primitives should support noncopyable types and change implementations 
accordingly.


Andrei


More information about the Digitalmars-d mailing list