STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Classes | Functions | Variables
stdext::allocators Namespace Reference

Classes

class  allocator_base
 
class  cache_chunklist
 
class  cache_freelist
 
class  cache_suballoc
 
class  freelist
 
class  max_fixed_size
 
class  max_none
 
class  max_unbounded
 
class  max_variable_size
 
class  rts_alloc
 
class  sync_none
 
class  sync_per_container
 
class  sync_per_thread
 
class  sync_shared
 

Functions

template<class _Ty , class _Sync >
bool operator== (const allocator_base< _Ty, _Sync > &_Left, const allocator_base< _Ty, _Sync > &_Right)
 
template<class _Ty , class _Sync >
bool operator!= (const allocator_base< _Ty, _Sync > &_Left, const allocator_base< _Ty, _Sync > &_Right)
 
 _ALLOCATOR_DECL (CACHE_FREELIST(stdext::allocators::max_none), SYNC_DEFAULT, allocator_newdel)
 
 _ALLOCATOR_DECL (CACHE_FREELIST(stdext::allocators::max_unbounded), SYNC_DEFAULT, allocator_unbounded)
 
 _ALLOCATOR_DECL (CACHE_FREELIST(stdext::allocators::max_fixed_size< 10 >), SYNC_DEFAULT, allocator_fixed_size)
 
 _ALLOCATOR_DECL (CACHE_FREELIST(stdext::allocators::max_variable_size), SYNC_DEFAULT, allocator_variable_size)
 
 _ALLOCATOR_DECL (CACHE_SUBALLOC, SYNC_DEFAULT, allocator_suballoc)
 
 _ALLOCATOR_DECL (CACHE_CHUNKLIST, SYNC_DEFAULT, allocator_chunklist)
 

Variables

const int _WIDTH = 8
 
const int _COUNT = 16
 

Function Documentation

stdext::allocators::_ALLOCATOR_DECL ( CACHE_FREELIST(stdext::allocators::max_none ,
SYNC_DEFAULT  ,
allocator_newdel   
)
stdext::allocators::_ALLOCATOR_DECL ( CACHE_FREELIST(stdext::allocators::max_unbounded ,
SYNC_DEFAULT  ,
allocator_unbounded   
)
stdext::allocators::_ALLOCATOR_DECL ( CACHE_FREELIST(stdext::allocators::max_fixed_size< 10 >)  ,
SYNC_DEFAULT  ,
allocator_fixed_size   
)
stdext::allocators::_ALLOCATOR_DECL ( CACHE_FREELIST(stdext::allocators::max_variable_size ,
SYNC_DEFAULT  ,
allocator_variable_size   
)
stdext::allocators::_ALLOCATOR_DECL ( CACHE_SUBALLOC  ,
SYNC_DEFAULT  ,
allocator_suballoc   
)
stdext::allocators::_ALLOCATOR_DECL ( CACHE_CHUNKLIST  ,
SYNC_DEFAULT  ,
allocator_chunklist   
)
template<class _Ty , class _Sync >
bool stdext::allocators::operator!= ( const allocator_base< _Ty, _Sync > &  _Left,
const allocator_base< _Ty, _Sync > &  _Right 
)
inline
803  { // compare two allocators for inequality
804  return (!(_Left == _Right));
805  }
const _Ty & _Right
Definition: algorithm:4087
template<class _Ty , class _Sync >
bool stdext::allocators::operator== ( const allocator_base< _Ty, _Sync > &  _Left,
const allocator_base< _Ty, _Sync > &  _Right 
)
inline
795  { // compare two allocators for equality
796  return (_Left.equals(_Right));
797  }
const _Ty & _Right
Definition: algorithm:4087

Variable Documentation

const int stdext::allocators::_COUNT = 16
const int stdext::allocators::_WIDTH = 8