We recommend using Visual Studio 2017

sync_per_container Class

 

The latest version of this topic can be found at sync_per_container Class.

Describes a synchronization filter that provides a separate cache object for each allocator object.

template <class Cache>  
class sync_per_container
 : public Cache

Parameters

ParameterDescription
CacheThe type of cache associated with the synchronization filter. This can be cache_chunklist, cache_freelist, or cache_suballoc.

Member Functions

equalsCompares two caches for equality.

Header: <allocators>

Namespace: stdext

Compares two caches for equality.

bool equals(const sync_per_container<Cache>& Other) const;

Parameters

ParameterDescription
CacheThe cache object of the synchronization filter.
OtherThe cache object to compare for equality.

Return Value

The member function always returns false.

Remarks

<allocators>

Show: