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

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

Static Private Attributes

static _Cache _Mycache
 

Member Function Documentation

template<class _Cache >
void* stdext::allocators::sync_none< _Cache >::allocate ( size_t  _Count)
inline
85  { // allocate from the cache
86  return (_Mycache.allocate(_Count));
87  }
static _Cache _Mycache
Definition: allocators:100
_Diff _Count
Definition: algorithm:1941
template<class _Cache >
void stdext::allocators::sync_none< _Cache >::deallocate ( void _Ptr,
size_t  _Count 
)
inline
90  { // deallocate through the cache
91  _Mycache.deallocate(_Ptr, _Count);
92  }
static _Cache _Mycache
Definition: allocators:100
_Diff _Count
Definition: algorithm:1941
template<class _Cache >
bool stdext::allocators::sync_none< _Cache >::equals ( const sync_none< _Cache > &  _Other) const
inline
95  { // compare two caches for equality
96  return (_Mycache.equals(_Other._Mycache));
97  }
static _Cache _Mycache
Definition: allocators:100

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: