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

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sat Sep 24 12:44:32 PDT 2011


On 9/24/11 1:24 PM, Andrej Mitrovic wrote:
> Will we be disallowed from calling extern(C) functions as well? (I
> hope not since CairoD has to use the postblit to call C functions to
> update an internal reference count.)

As long as it's understood that the function has constant complexity and 
reasonable actual cost, extern(C) has no different regime.

Andrei


More information about the Digitalmars-d mailing list