carb::memory::operator==¶
Defined in carb/memory/ArenaAllocator.h
-
template<class
T
, classU
, classAllocator1
, classAllocator2
>
boolcarb::memory
::
operator==
(const ArenaAllocator<T, Allocator1> &lhs, const ArenaAllocator<U, Allocator2> &rhs)¶ Equality operator.
- Parameters
lhs – An allocator to compare
rhs – An allocator to compare
- Returns
true
iflhs
andrhs
can deallocate each other’s allocations.