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

Synopsis

Declared in <support/allocators/zeroafterfree.h>

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

This function is a hidden friend of zero_after_free_allocator<byte>, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

Always true.

Parameters

Name

Description

a

First allocator to compare (unused).

b

Second allocator to compare (unused).

Created with MrDocs