I'm using VC++ 5.0
As far as I know ANSI C++ standard,
global operator new should throw std::bad_alloc
exception in case of memory lack.
However, it returns 0-pointer.
What's wrong with it?
Sincerely,
--Anton Yevgrafov
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 2 of 2
Thread: bad_allocThreaded View
|
Click Here to Expand Forum to Full Width |