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.
|
|
//***************************************************************************
//
// NewThrow.H
//
// Module: Common new/delete w/throw
//
// Copyright (c) 1998-2001 Microsoft Corporation, All Rights Reserved
//
//***************************************************************************
#pragma once
#include <eh.h>
void * __cdecl operator new( size_t n); void* __cdecl operator new[]( size_t n); void __cdecl operator delete( void *ptr ); void __cdecl operator delete[]( void *ptr );
//taken from new.h
#ifndef __PLACEMENT_NEW_INLINE
#define __PLACEMENT_NEW_INLINE
inline void *__cdecl operator new(size_t, void *_P) {return (_P); } #if _MSC_VER >= 1200
inline void __cdecl operator delete(void *, void *) {return; } #endif
#endif
|