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
95  { // allocate from the cache
96  return (_Mycache.allocate(_Count));
97  }
static _Cache _Mycache
Definition: allocators:110
_Diff _Count
Definition: algorithm:1941
template<class _Cache >
void stdext::allocators::sync_none< _Cache >::deallocate ( void _Ptr,
size_t  _Count 
)
inline
100  { // deallocate through the cache
101  _Mycache.deallocate(_Ptr, _Count);
102  }
static _Cache _Mycache
Definition: allocators:110
_Diff _Count
Definition: algorithm:1941
template<class _Cache >
bool stdext::allocators::sync_none< _Cache >::equals ( const sync_none< _Cache > &  ) const
inline
105  { // compare two caches for equality
106  return (_Mycache.equals(_Mycache));
107  }
static _Cache _Mycache
Definition: allocators:110

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: