operator==

Compares two pool allocators for equality.

Synopsis

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;

Return Value

True when both allocators share the same backing resource.

Parameters

NameDescription
aFirst allocator to compare.
bSecond allocator to compare.