cptr::operator==

Always true: memory from one fancy_allocator for a cage can be freed by any other for the same cage.

Synopsis

Declared in <cptr/fancy_allocator.hpp>

template<class U>
constexpr
bool
operator==(
    fancy_allocator const& lhs,
    fancy_allocator<U, Cage> const& rhs) noexcept;

NOTE

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

Return Value

true if the objects are equal, false otherwise

Parameters

NameDescription
lhsThe left operand
rhsThe right operand