this(this) must be cheap and O(1)

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Sep 24 05:30:14 PDT 2011


On 9/24/11 2:40 AM, Jonathan M Davis wrote:
> By the way, does this mean that we'll be able to get rid of moveFront and its
> compatriots? - since if I understand correctly, the only reason that the
> moveXXX functions exist for ranges is to deal with the case where copying
> isn't cheap.

Depends on whether we want to support ranges of uncopyable objects.

Andrei


More information about the Digitalmars-d mailing list