STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Private Attributes | List of all members
Concurrency::_AllocatedBufferHolder< _Allocator > Class Template Reference

#include <ppl.h>

Public Member Functions

 _AllocatedBufferHolder (size_t _Size, const _Allocator &_Alloc)
 
 ~_AllocatedBufferHolder ()
 
_Allocator::pointer _Get_buffer ()
 

Private Attributes

size_t _M_size
 
_Allocator _M_alloc
 
_Allocator::pointer _M_buffer
 

Constructor & Destructor Documentation

template<typename _Allocator>
Concurrency::_AllocatedBufferHolder< _Allocator >::_AllocatedBufferHolder ( size_t  _Size,
const _Allocator &  _Alloc 
)
inline
5215  : _M_alloc(_Alloc)
5216  {
5217  _M_size = _Size;
5219  }
_CRT_BEGIN_C_HEADER _Check_return_ _Ret_maybenull_ _In_ size_t _Size
Definition: corecrt_malloc.h:58
_Allocator _M_alloc
Definition: ppl.h:5233
size_t _M_size
Definition: ppl.h:5232
_Allocator::pointer _M_buffer
Definition: ppl.h:5234
_Allocator::pointer _Construct_buffer(size_t _N, _Allocator &_Alloc)
Definition: ppl.h:5171
template<typename _Allocator>
Concurrency::_AllocatedBufferHolder< _Allocator >::~_AllocatedBufferHolder ( )
inline
5222  {
5224  }
_Allocator _M_alloc
Definition: ppl.h:5233
size_t _M_size
Definition: ppl.h:5232
_Allocator::pointer _M_buffer
Definition: ppl.h:5234
void _Destroy_buffer(typename _Allocator::pointer _P, size_t _N, _Allocator &_Alloc)
Definition: ppl.h:5192

Member Function Documentation

template<typename _Allocator>
_Allocator::pointer Concurrency::_AllocatedBufferHolder< _Allocator >::_Get_buffer ( )
inline
5227  {
5228  return _M_buffer;
5229  }
_Allocator::pointer _M_buffer
Definition: ppl.h:5234

Member Data Documentation

template<typename _Allocator>
_Allocator Concurrency::_AllocatedBufferHolder< _Allocator >::_M_alloc
private
template<typename _Allocator>
_Allocator::pointer Concurrency::_AllocatedBufferHolder< _Allocator >::_M_buffer
private
template<typename _Allocator>
size_t Concurrency::_AllocatedBufferHolder< _Allocator >::_M_size
private

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