Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
362 B

  1. // nomemory -- report out of memory
  2. #include <new>
  3. _STD_BEGIN
  4. void _CRTIMP2 __cdecl _Nomemory()
  5. { // report out of memory
  6. static const bad_alloc nomem;
  7. _RAISE(nomem);
  8. }
  9. const nothrow_t nothrow;
  10. _STD_END
  11. /*
  12. * Copyright (c) 1994 by P.J. Plauger. ALL RIGHTS RESERVED.
  13. * Consult your license regarding permissions and restrictions.
  14. */