A safer interface for core.stdc

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Sun Feb 8 02:08:40 PST 2015


H. S. Teoh:

> Come to think of it, is there any point in making malloc 
> @safe/@trusted at all?

I am not asking for a @trusted function. I'd like a @system 
template wrapper for malloc/calloc/free that is safer than the C 
functions (safer because it's type-aware).

Bye,
bearophile


More information about the Digitalmars-d mailing list