Mail Archives: djgpp/1999/02/08/21:09:16
Hi
First Question : No it don't , but it should.
Second Question : Yes , it's the best way
Follow a piece of code,
it do what you want , and it work niece well ...
( To put in ONLY one of you file )
-----------------------------------------------------------------
void out_of_memory()
{ throw bad_alloc; }
struct ExcAlloc_AutoInit
{
ExcAlloc_AutoInit()
{ set_new_handler(out_of_memory); }
} ExcAlloc_AutoInit_Proc;
-----------------------------------------------------------------
- Raw text -