STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | List of all members
Concurrency::details::_AllocBase Struct Reference

#include <concrt.h>

Inheritance diagram for Concurrency::details::_AllocBase:
Concurrency::details::_Queue< Concurrency::message< _Destination_type > > Concurrency::details::_Queue< Concurrency::message< _Output > > Concurrency::details::_Queue< Concurrency::message< _Type > > Concurrency::details::_Queue< Concurrency::message< std::vector< _Type > > > Concurrency::details::_Queue< _Message > Concurrency::details::_Runtime_object Concurrency::details::_UnrealizedChore Concurrency::message< _Type > Concurrency::message< _Destination_type > Concurrency::message< _Output > Concurrency::message< agent_status > Concurrency::message< size_t > Concurrency::message< std::vector< _Type > > Concurrency::task_handle< _Function > Concurrency::task_handle< Concurrency::_Parallel_reduce_fixed_worker >

Public Member Functions

voidoperator new (size_t _Size)
 
void operator delete (void *_Ptr) throw ()
 
voidoperator new (size_t _Size, const std::nothrow_t &) throw ()
 
void operator delete (void *_Ptr, const std::nothrow_t &) throw ()
 
voidoperator new[] (size_t _Size)
 
void operator delete[] (void *_Ptr) throw ()
 
voidoperator new[] (size_t _Size, const std::nothrow_t &_No_throw) throw ()
 
void operator delete[] (void *_Ptr, const std::nothrow_t &_No_throw) throw ()
 
voidoperator new (size_t, void *_Location) throw ()
 
void operator delete (void *, void *) throw ()
 
void *__cdecl operator new[] (size_t, void *_Location) throw ()
 
void __cdecl operator delete[] (void *, void *) throw ()
 

Member Function Documentation

void Concurrency::details::_AllocBase::operator delete ( void _Ptr)
throw (
)
inline
289  {
290  ::Concurrency::Free(_Ptr);
291  }
_CONCRTIMP void __cdecl Free(_Pre_maybenull_ _Post_invalid_ void *_PAllocation)
Releases a block of memory previously allocated by the Alloc method to the Concurrency Runtime Cachin...
void Concurrency::details::_AllocBase::operator delete ( void _Ptr,
const std::nothrow_t &   
)
throw (
)
inline
312  {
313  operator delete(_Ptr);
314  }
void Concurrency::details::_AllocBase::operator delete ( void ,
void  
)
throw (
)
inline
348  {
349  }
void Concurrency::details::_AllocBase::operator delete[] ( void _Ptr)
throw (
)
inline
324  {
325  operator delete(_Ptr);
326  }
void Concurrency::details::_AllocBase::operator delete[] ( void _Ptr,
const std::nothrow_t &  _No_throw 
)
throw (
)
inline
336  {
337  operator delete(_Ptr, _No_throw);
338  }
void __cdecl Concurrency::details::_AllocBase::operator delete[] ( void ,
void  
)
throw (
)
inline
359  {
360  }
void* Concurrency::details::_AllocBase::operator new ( size_t  _Size)
inline
283  {
285  }
_CONCRTIMP void *__cdecl Alloc(size_t _NumBytes)
Allocates a block of memory of the size specified from the Concurrency Runtime Caching Suballocator...
_CRT_BEGIN_C_HEADER _Check_return_ _Ret_maybenull_ _In_ size_t _Size
Definition: corecrt_malloc.h:58
void* Concurrency::details::_AllocBase::operator new ( size_t  _Size,
const std::nothrow_t &   
)
throw (
)
inline
295  {
296  void * _Ptr;
297 
298  try
299  {
300  _Ptr = ::Concurrency::Alloc(_Size);
301  }
302  catch(...)
303  {
304  _Ptr = NULL;
305  }
306 
307  return (_Ptr);
308  }
_CONCRTIMP void *__cdecl Alloc(size_t _NumBytes)
Allocates a block of memory of the size specified from the Concurrency Runtime Caching Suballocator...
_CRT_BEGIN_C_HEADER _Check_return_ _Ret_maybenull_ _In_ size_t _Size
Definition: corecrt_malloc.h:58
#define NULL
Definition: corecrt.h:158
void* Concurrency::details::_AllocBase::operator new ( size_t  ,
void _Location 
)
throw (
)
inline
342  {
343  return _Location;
344  }
void* Concurrency::details::_AllocBase::operator new[] ( size_t  _Size)
inline
318  {
319  return operator new(_Size);
320  }
_CRT_BEGIN_C_HEADER _Check_return_ _Ret_maybenull_ _In_ size_t _Size
Definition: corecrt_malloc.h:58
void* Concurrency::details::_AllocBase::operator new[] ( size_t  _Size,
const std::nothrow_t &  _No_throw 
)
throw (
)
inline
330  {
331  return operator new(_Size, _No_throw);
332  }
_CRT_BEGIN_C_HEADER _Check_return_ _Ret_maybenull_ _In_ size_t _Size
Definition: corecrt_malloc.h:58
void* __cdecl Concurrency::details::_AllocBase::operator new[] ( size_t  ,
void _Location 
)
throw (
)
inline
353  {
354  return _Location;
355  }

The documentation for this struct was generated from the following file: