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.

14 lines
427 B

  1. // newaop -- operator new[](size_t) REPLACEABLE
  2. #include <new>
  3. #if !_VC6SP2 || _DLL
  4. void *__cdecl operator new[](size_t count) _THROW1(std::bad_alloc)
  5. { // try to allocate count bytes for an array
  6. return (operator new(count));
  7. }
  8. #endif /* !_VC6SP2 || _DLL */
  9. /*
  10. * Copyright (c) 1992-2001 by P.J. Plauger. ALL RIGHTS RESERVED.
  11. * Consult your license regarding permissions and restrictions.
  12. V3.10:0009 */