BloombergLP::bslalg::ContainerBase::equalAllocator

Return true if this object and the specified rhs have allocators that compare equal.

Synopsis

Declared in <bslalg_containerbase.h>

bool
equalAllocator(ContainerBase const& rhs) const;

Return Value

true if this object's allocator equals that of rhs

Parameters

NameDescription
rhscontainer base whose allocator is compared with this object's allocator