Mem.check

Check p for null. If it is, issue out of memory error and exit program.

struct Mem
static pure nothrow @nogc
void*
check
(
void* p
)

Parameters

p
Type: void*

pointer to check for null

Return Value

Type: void*

p if not null

Meta