and
div
eof
not
or
xor
Expand Minimize
This topic has not yet been rated - Rate this topic

_callnewh

Calls the currently installed new handler.

int _callnewh(
   size_t size
   )
size

The amount of memory that the new operator tried to allocate.

Value

Description

0

Failure: Either no new handler is installed or no new handler is active.

1

Success: The new handler is installed and active. The memory allocation can be retried.

This function throws bad_alloc if the new handler can’t be located.

The new handler is called if the new operator fails to successfully allocate memory. The new handler might then initiate some appropriate action, such as freeing memory so that subsequent allocations succeed.

Routine

Required header

_callnewh

internal.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.