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
5225  : _M_alloc(_Alloc)
5226  {
5227  _M_size = _Size;
5229  }
_Allocator _M_alloc
Definition: ppl.h:5243
size_t _M_size
Definition: ppl.h:5242
_Allocator::pointer _M_buffer
Definition: ppl.h:5244
_Allocator::pointer _Construct_buffer(size_t _N, _Allocator &_Alloc)
Definition: ppl.h:5181
_Check_return_ _In_ long _Size
Definition: io.h:325
template<typename _Allocator>
Concurrency::_AllocatedBufferHolder< _Allocator >::~_AllocatedBufferHolder ( )
inline
5232  {
5234  }
_Allocator _M_alloc
Definition: ppl.h:5243
size_t _M_size
Definition: ppl.h:5242
_Allocator::pointer _M_buffer
Definition: ppl.h:5244
void _Destroy_buffer(typename _Allocator::pointer _P, size_t _N, _Allocator &_Alloc)
Definition: ppl.h:5202

Member Function Documentation

template<typename _Allocator>
_Allocator::pointer Concurrency::_AllocatedBufferHolder< _Allocator >::_Get_buffer ( )
inline
5237  {
5238  return _M_buffer;
5239  }
_Allocator::pointer _M_buffer
Definition: ppl.h:5244

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: