共用方式為


sync_per_thread::equals

Compares two caches for equality.

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

Parameters

Parameter

Description

Cache

The cache object of the synchronization filter.

Other

The cache object to compare for equality.

Return Value

false if no cache object has been allocated for this object or for Other in the current thread. Otherwise it returns the result of applying operator== to the two cache objects.

Requirements

Header: <allocators>

Namespace: stdext

See Also

Reference

sync_per_thread Class