Mail Archives: djgpp/1998/12/07/08:26:44
In article <19981207072941 DOT 05942 DOT 00002034 AT ngol03 DOT aol DOT com>, gsm77 AT aol DOT com (GSM77) wrote:
>
>Hi, guy
>
>For exception catch and throw work, First verify your version ...
>It must be 2.8.1
>
>Second, my programs use it, but i never went over the memory i have.
>So I don't know if it REALLY work...
>
>But i know that "new" normally send the exception "bad_alloc" when it fail the
>allocation.
>You can find it in "new.h" header.
>
>Hope that's help ... KAMY
I'm not sure. Does new throw "bad_alloc" in any case or do I have to tell it
to?
And if it does, shouldn't I be able to catch it with catch (...) = catch
anything?
Thanks,
-----------------------------------------------------------
Manni Heumann
Bielefeld, Germany
Spammers use reply-adress,
all others: mheumann AT post DOT uni-bielefeld DOT de
-----------------------------------------------------------
- Raw text -