GC.calloc

bearophile bearophileHUGS at lycos.com
Wed Jul 17 13:33:15 PDT 2013


Sean Kelly:

> I'd like to eliminate GC.calloc entirely.  I'd rather have an 
> allocation routine that takes a TypeInfo and uses that to 
> initialize the block rather than just doing a memset(0) as per 
> calloc.

I think both are needed. The GC calloc is probably handy in some 
cases.

Bye,
bearophile


More information about the Digitalmars-d mailing list