Time to kill T() as (sometimes) working T.init alias ?

Walter Bright newshound2 at digitalmars.com
Sun Dec 9 13:11:43 PST 2012


On 12/9/2012 11:16 AM, Jonathan M Davis wrote:
> That's kind of the point of having posblits in the first place,

As I argued previously, the only justification I can think of for postblit is 
for reference counting. The counters posted here were variations on reference 
counting, or could be done in terms of reference counting.

In fact, I think we could solve the postblit problems with const, immutable, and 
shared by dispensing with postblit entirely and providing some sort of compiler 
magic for doing ref counting.


More information about the Digitalmars-d mailing list