Saturday, March 01, 2008

To set the _new_handler pointer to default

In my last post, I talked about using the _new_handler pointer.. one thing I forgot to mention was to un-set the _new_handler pointer back to default value after pointing it to a user defined function.

For that, use -

set_new_handler(0);

This will return the pointer to its default state containing NULL.

1 comment:

QuackWare said...

Cool Stuff, can you check out my C++ Code Samples too?