Always true: memory from one allocator for a cage can be freed by any other for the same cage.
Declared in <cptr/allocator.hpp>
template<class U>
constexpr
bool
operator==(
allocator const& lhs,
allocator<U, Cage> const& rhs) noexcept;
This function is a hidden friend of allocator, declared only inside that class: it can be found only through argument-dependent lookup.
true if the objects are equal, false otherwise
| Name | Description |
|---|---|
| lhs | The left operand |
| rhs | The right operand |