Return whether two allocator adaptors compare equal.

Synopsis

Declared in <bsltf_stdallocatoradaptor.h>

template<
    class TYPE1,
    class TYPE2>
bool
operator==(
    StdAllocatorAdaptor<TYPE1> const& lhs,
    StdAllocatorAdaptor<TYPE2> const& rhs);

Description

Return true if the specified lhs and rhs adaptors are equal and false otherwise. Two allocator adaptor instances are equal if their associated allocator instances are equal.

Return Value

true if lhs and rhs compare equal, else false

Parameters

Name

Description

lhs

left‐hand allocator adaptor

rhs

right‐hand allocator adaptor

Created with MrDocs