STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Static Private Attributes | List of all members
stdext::allocators::sync_none< _Cache > Class Template Reference

Public Member Functions

_DECLSPEC_ALLOCATOR voidallocate (size_t _Count)
 
void deallocate (void *_Ptr, size_t _Count)
 
bool equals (const sync_none< _Cache > &) const
 

Static Private Attributes

static _Cache _Mycache
 

Member Function Documentation

template<class _Cache >
_DECLSPEC_ALLOCATOR void* stdext::allocators::sync_none< _Cache >::allocate ( size_t  _Count)
inline
91  { // allocate from the cache
92  return (_Mycache.allocate(_Count));
93  }
unsigned int _Count
Definition: xcomplex:668
static _Cache _Mycache
Definition: allocators:106
template<class _Cache >
void stdext::allocators::sync_none< _Cache >::deallocate ( void _Ptr,
size_t  _Count 
)
inline
96  { // deallocate through the cache
97  _Mycache.deallocate(_Ptr, _Count);
98  }
unsigned int _Count
Definition: xcomplex:668
static _Cache _Mycache
Definition: allocators:106
template<class _Cache >
bool stdext::allocators::sync_none< _Cache >::equals ( const sync_none< _Cache > &  ) const
inline
101  { // compare two caches for equality
102  return (_Mycache.equals(_Mycache));
103  }
static _Cache _Mycache
Definition: allocators:106

Member Data Documentation

template<class _Cache >
_Cache stdext::allocators::sync_none< _Cache >::_Mycache
staticprivate

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