Return whether two allocator adaptors compare equal.
Declared in <bsltf_stdallocatoradaptor.h>
template<
class TYPE1,
class TYPE2>
bool
operator==(
StdAllocatorAdaptor<TYPE1> const& lhs,
StdAllocatorAdaptor<TYPE2> const& rhs);
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.
true if lhs and rhs compare equal, else false
| Name | Description |
|---|---|
| lhs | left-hand allocator adaptor |
| rhs | right-hand allocator adaptor |