Compares two pool allocators for equality.
Declared in <support/allocators/pool.h>
template<
class T1,
class T2,
std::size_t MAX_BLOCK_SIZE_BYTES,
std::size_t ALIGN_BYTES>
bool
operator==(
PoolAllocator<T1, MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES> const& a,
PoolAllocator<T2, MAX_BLOCK_SIZE_BYTES, ALIGN_BYTES> const& b) noexcept;
True when both allocators share the same backing resource.
| Name | Description |
|---|---|
| a | First allocator to compare. |
| b | Second allocator to compare. |