Compares two allocators for inequality.

Synopsis

Declared in <folly/memory/ReentrantAllocator.h>

template<
    typename A,
    typename B>
bool
operator!=(
    reentrant_allocator<A> const& a,
    reentrant_allocator<B> const& b) noexcept;
Note

This function is a hidden friend of reentrant_allocator, declared only inside that class: it can be found only through argument-dependent lookup.

Return Value

true if the allocators do not share state.

Parameters

Name

Description

a

The first allocator.

b

The second allocator.

Created with MrDocs