STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Macros | Functions | Variables
new File Reference
#include <exception>

Classes

struct  nothrow_t
 

Macros

#define _NEW_
 
#define __CRTDECL   __cdecl
 
#define __PLACEMENT_NEW_INLINE
 
#define __PLACEMENT_VEC_NEW_INLINE
 
#define __NOTHROW_T_DEFINED
 

Functions

_STD_BEGIN typedef void (__cdecl *new_handler)()
 
_CRTIMP2 new_handler __cdecl set_new_handler (_In_opt_ new_handler) _THROW0()
 
_CRTIMP2 new_handler __cdecl get_new_handler () _THROW0()
 
_STD_END void __CRTDECL operator delete (void *) _THROW0()
 
_Ret_notnull_ _Post_writable_byte_size_ (_Size) void *__CRTDECL operator new(size_t _Size) _THROW1(_STD bad_alloc)
 
void *__CRTDECL operator new (size_t, void *_Where) _THROW0()
 
void __CRTDECL operator delete (void *, void *) _THROW0()
 
void *__CRTDECL operator new[] (size_t, void *_Where) _THROW0()
 
void __CRTDECL operator delete[] (void *, void *) _THROW0()
 
void __CRTDECL operator delete[] (void *) _THROW0()
 
_Ret_maybenull_ const _STD nothrow_t_THROW0 ()
 
void __CRTDECL operator delete (void *, const _STD nothrow_t &) _THROW0()
 
void __CRTDECL operator delete[] (void *, const _STD nothrow_t &) _THROW0()
 

Variables

const nothrow_t nothrow
 

Macro Definition Documentation

#define __CRTDECL   __cdecl
#define __NOTHROW_T_DEFINED
#define __PLACEMENT_NEW_INLINE
#define __PLACEMENT_VEC_NEW_INLINE
#define _NEW_

Function Documentation

_Ret_notnull_ _Post_writable_byte_size_ ( _Size  )
new
_Ret_maybenull_ const _STD nothrow_t& _THROW0 ( )
_CRTIMP2 new_handler __cdecl get_new_handler ( )
_STD_END void __CRTDECL operator delete ( void )
void __CRTDECL operator delete ( void ,
void  
)
inline
64  { // delete if placement new fails
65  }
void __CRTDECL operator delete ( void ,
const _STD nothrow_t  
)
void __CRTDECL operator delete[] ( void ,
void  
)
inline
76  { // delete if placement array new fails
77  }
void __CRTDECL operator delete[] ( void )
void __CRTDECL operator delete[] ( void ,
const _STD nothrow_t  
)
void* __CRTDECL operator new ( size_t  ,
void _Where 
)
inline
59  { // construct array with placement at _Where
60  return (_Where);
61  }
void* __CRTDECL operator new[] ( size_t  ,
void _Where 
)
inline
71  { // construct array with placement at _Where
72  return (_Where);
73  }
_CRTIMP2 new_handler __cdecl set_new_handler ( _In_opt_  new_handler)
_STD_BEGIN typedef void ( __cdecl *  new_handler)

Variable Documentation

const nothrow_t nothrow