Move semantics for D

Jonathan M Davis jmdavisProg at gmx.com
Fri Jul 13 02:11:14 PDT 2012


On Friday, July 13, 2012 10:45:03 Benjamin Thaut wrote:
> Am 13.07.2012 10:19, schrieb Mehrdad:
> > On Friday, 13 July 2012 at 08:06:08 UTC, monarch_dodra wrote:
> >> Move semantics in C++0x are quite nice for optimization purposes.
> > 
> > That's not why they were introduced.
> > 
> > They were introduced for making things like unique_ptr possible.
> 
> Well thats your point of view. I'm coming from the gaming industry, and
> everyone I have talked to so far, is happy because they can use it to
> optimize better.

I expect that the reality of the matter is that it was introduced for both.

- Jonathan M Davis


More information about the Digitalmars-d mailing list