operator==

Compares two allocators for equality; they are always equal since the allocator is stateless.

Synopsis

Declared in <support/allocators/zeroafterfree.h>

bool
operator==(
    zero_after_free_allocator<byte> const& a,
    zero_after_free_allocator<U> const& b) noexcept;

Return Value

Always true.

Parameters

NameDescription
aFirst allocator to compare (unused).
bSecond allocator to compare (unused).