D-Programming-Language/phobos — pull request #936 by blackwhale (2012-11-11 16:14:23+00:00)
Title: ctfe-able move

Finally found a way to make acceptable version of move for CTFE.

Curently I opted to just do a copy. The implementation involves jumping through some hoops to ensure that RVO/NRVO is still applied for the run-time conterpart. See also:
http://d.puremagic.com/issues/show_bug.cgi?id=8991

As a side affect it fixes http://d.puremagic.com/issues/show_bug.cgi?id=8349 and maybe others.