The compiler is supposed to throw if "new" fails.

On Mon, Mar 24, 2003 at 11:44:48PM +0100, Dejan Maksimovic wrote:
> 
>     Hi,
> 
>         I'm using Crypto++ 4.2, and am curious what happens in case that
> SecAlloc fails? (i.e. not enough memory)
>         I see no throw, and I don't think the compiler inputs code that
> calls throw if alloc fails - bug or misunderstanding?
> 
> --
> Kind regards, Dejan M. MVP for DDK
> http://www.alfasp.com E-mail: [EMAIL PROTECTED]
> Alfa Transparent File Encryptor - Transparent file encryption services.
> Alfa File Protector - File protection and hiding library for Win32
> developers.
> Alfa File Monitor - File monitoring library for Win32 developers.
> 

Reply via email to