Compares two allocators for equality.

Synopsis

Declared in <folly/concurrency/CacheLocality.h>

bool
operator==(
    CoreAllocator const& lhs,
    CoreAllocator const& rhs) noexcept;
Note

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

Return Value

Always true, since the allocator is stateless.

Parameters

Name

Description

lhs

First allocator to compare.

rhs

Second allocator to compare.

Created with MrDocs