! Compare (equality) with another MemoryPoolAllocator
| 420 | |
| 421 | // ! Compare (equality) with another MemoryPoolAllocator |
| 422 | bool operator==(const MemoryPoolAllocator& rhs) const noexcept { |
| 423 | sonic_assert(shared_->refcount > 0); |
| 424 | sonic_assert(rhs.shared_->refcount > 0); |
| 425 | return shared_ == rhs.shared_; |
| 426 | } |
| 427 | // ! Compare (inequality) with another MemoryPoolAllocator |
| 428 | bool operator!=(const MemoryPoolAllocator& rhs) const noexcept { |
| 429 | return !operator==(rhs); |
nothing calls this directly
no outgoing calls
no test coverage detected