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::details::_TaskProcHandle 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
303  {
304  Concurrency::Free(_Ptr);
305  }
_CRTIMP 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
326  {
327  operator delete(_Ptr);
328  }
void Concurrency::details::_AllocBase::operator delete ( void ,
void  
)
throw (
)
inline
362  {
363  }
void Concurrency::details::_AllocBase::operator delete[] ( void _Ptr)
throw (
)
inline
338  {
339  operator delete(_Ptr);
340  }
void Concurrency::details::_AllocBase::operator delete[] ( void _Ptr,
const std::nothrow_t &  _No_throw 
)
throw (
)
inline
350  {
351  operator delete(_Ptr, _No_throw);
352  }
void __cdecl Concurrency::details::_AllocBase::operator delete[] ( void ,
void  
)
throw (
)
inline
373  {
374  }
void* Concurrency::details::_AllocBase::operator new ( size_t  _Size)
inline
297  {
298  return Concurrency::Alloc(_Size);
299  }
_CRTIMP void *__cdecl Alloc(size_t _NumBytes)
Allocates a block of memory of the size specified from the Concurrency Runtime Caching Suballocator...
_Check_return_ _In_ long _Size
Definition: io.h:325
void* Concurrency::details::_AllocBase::operator new ( size_t  _Size,
const std::nothrow_t &   
)
throw (
)
inline
309  {
310  void * _Ptr;
311 
312  try
313  {
314  _Ptr = Concurrency::Alloc(_Size);
315  }
316  catch(...)
317  {
318  _Ptr = NULL;
319  }
320 
321  return (_Ptr);
322  }
#define NULL
Definition: crtdbg.h:30
_CRTIMP void *__cdecl Alloc(size_t _NumBytes)
Allocates a block of memory of the size specified from the Concurrency Runtime Caching Suballocator...
_Check_return_ _In_ long _Size
Definition: io.h:325
void* Concurrency::details::_AllocBase::operator new ( size_t  ,
void _Location 
)
throw (
)
inline
356  {
357  return _Location;
358  }
void* Concurrency::details::_AllocBase::operator new[] ( size_t  _Size)
inline
332  {
333  return operator new(_Size);
334  }
_Check_return_ _In_ long _Size
Definition: io.h:325
void* Concurrency::details::_AllocBase::operator new[] ( size_t  _Size,
const std::nothrow_t &  _No_throw 
)
throw (
)
inline
344  {
345  return operator new(_Size, _No_throw);
346  }
_Check_return_ _In_ long _Size
Definition: io.h:325
void* __cdecl Concurrency::details::_AllocBase::operator new[] ( size_t  ,
void _Location 
)
throw (
)
inline
367  {
368  return _Location;
369  }

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