Compares two allocators for equality.

Synopsis

Declared in <folly/memory/JemallocHugePageAllocator.h>

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

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

Return Value

true, as all instances are interchangeable.

Parameters

Name

Description

lhs

The left‐hand allocator.

rhs

The right‐hand allocator.

Created with MrDocs