[#BloombergLP-bsltf-operator_eq-099] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::operator== :relfileprefix: ../../ :mrdocs: Return whether two allocator adaptors compare equal. == Synopsis Declared in `<bsltf_stdallocatoradaptor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE1, class TYPE2> bool operator==( xref:BloombergLP/bsltf/StdAllocatorAdaptor.adoc[StdAllocatorAdaptor<TYPE1>] const& lhs, xref:BloombergLP/bsltf/StdAllocatorAdaptor.adoc[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 [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand allocator adaptor | *rhs* | right‐hand allocator adaptor |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#