Hacker News new | ask | show | jobs
by alphaglosined 1842 days ago
You are stuck with dropping to @trusted and calling the appropriate allocator API.

Following that you will want to check for null ext. to make it actually @safe in practice and not just typed as such.