BloombergLP::bslma::operator!=

Return true unless the specified lhs and rhs are proxies for the same bslma::TestAllocator object, in which case return false. This is a practical implementation of the STL requirement that two allocators compare equal if and only if memory allocated from one can be deallocated from the other. Note that the two allocators need not be instantiated on the same type in order to compare equal.

Synopsis

Declared in <bslma_stdtestallocator.h>

template<
    class T1,
    class T2>
bool
operator!=(
    StdTestAllocator<T1> const& lhs,
    StdTestAllocator<T2> const& rhs);