Partager via


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.

Syntax

template <class Cache>  
class sync_per_container
 : public Cache

Parameters

Parameter Description
Cache The type of cache associated with the synchronization filter. This can be cache_chunklist, cache_freelist, or cache_suballoc.

Member Functions

equals Compares two caches for equality.

Requirements

Header: <allocators>

Namespace: stdext

sync_per_container::equals

Compares two caches for equality.

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

Parameters

Parameter Description
Cache The cache object of the synchronization filter.
Other The cache object to compare for equality.

Return Value

The member function always returns false.

Remarks

See Also

<allocators>