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

Name

Description

a

First allocator to compare.

b

Second allocator to compare.

Created with MrDocs