Compares two allocators for equality.

Synopsis

Declared in <folly/memory/Allocator.h>

bool
operator==(
    Self const& a,
    Self const& b) noexcept;

Return Value

true if both use the same alignment policy.

Parameters

Name

Description

a

The first allocator.

b

The second allocator.

Created with MrDocs