[#BloombergLP-bsltf-operator_not_eq-0c] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::operator!= :relfileprefix: ../../ :mrdocs: Return whether two allocators wrap different underlying allocators. == Synopsis Declared in `<bsltf_stdstatefulallocator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE1, class TYPE2, bool PROPAGATE_ON_CONTAINER_COPY_CONSTRUCTION, bool PROPAGATE_ON_CONTAINER_COPY_ASSIGNMENT, bool PROPAGATE_ON_CONTAINER_SWAP, bool PROPAGATE_ON_CONTAINER_MOVE_ASSIGNMENT, bool IS_ALWAYS_EQUAL> bool operator!=( xref:BloombergLP/bsltf/StdStatefulAllocator.adoc[StdStatefulAllocator<TYPE1, PROPAGATE_ON_CONTAINER_COPY_CONSTRUCTION, PROPAGATE_ON_CONTAINER_COPY_ASSIGNMENT, PROPAGATE_ON_CONTAINER_SWAP, PROPAGATE_ON_CONTAINER_MOVE_ASSIGNMENT, IS_ALWAYS_EQUAL>] const& lhs, xref:BloombergLP/bsltf/StdStatefulAllocator.adoc[StdStatefulAllocator<TYPE2, PROPAGATE_ON_CONTAINER_COPY_CONSTRUCTION, PROPAGATE_ON_CONTAINER_COPY_ASSIGNMENT, PROPAGATE_ON_CONTAINER_SWAP, PROPAGATE_ON_CONTAINER_MOVE_ASSIGNMENT, IS_ALWAYS_EQUAL>] const& rhs); ---- == Description Return `true` if the specified `lhs` and `rhs` have different underlying test allocators, and `false` otherwise. == Return Value `true` if `lhs` and `rhs` wrap different allocators, else `false` == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand operand | *rhs* | right‐hand operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#