Contents

operator new

Allocates memory for an instance of the class.

Declaration

static void * operator new(
 size_tsize);

Parameters

  • size:

    The number of bytes to allocate

Return Value

A pointer to block of memory if available, NULL otherwise.

See Also

Miscellaneous