[#BloombergLP-bsltf-operator_not_eq-0bd7] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsltf.adoc[bsltf]::operator!= :relfileprefix: ../../ :mrdocs: Inequality operators == Synopses Declared in `<bsltf_allocbitwisemoveabletesttype.h>` Return `true` if the specified iterators do _not_ refer to the same element, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-028.adoc[operator!=]( xref:BloombergLP/bsltf/TestValuesArrayIterator.adoc[TestValuesArrayIterator<OTHER_VALUE>] const&, xref:BloombergLP/bsltf/TestValuesArrayIterator.adoc[TestValuesArrayIterator<OTHER_VALUE>] const&); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-028.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `SimpleTestType` objects do not have the same value if their `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-0f4.adoc[operator!=]( xref:BloombergLP/bsltf/SimpleTestType.adoc[SimpleTestType] const& lhs, xref:BloombergLP/bsltf/SimpleTestType.adoc[SimpleTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-0f4.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `AllocTestType` objects do not have the same value if their `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class ALLOC> bool xref:BloombergLP/bsltf/operator_not_eq-08.adoc[operator!=]( xref:BloombergLP/bsltf/StdAllocTestType.adoc[StdAllocTestType<ALLOC>] const& lhs, xref:BloombergLP/bsltf/StdAllocTestType.adoc[StdAllocTestType<ALLOC>] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-08.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `UnionTestType` objects do not have the same value if their `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-074.adoc[operator!=]( xref:BloombergLP/bsltf/UnionTestType.adoc[UnionTestType] const& lhs, xref:BloombergLP/bsltf/UnionTestType.adoc[UnionTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-074.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `WellBehavedMoveOnlyAllocTestType` objects do not have the same value if their `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-05f.adoc[operator!=]( xref:BloombergLP/bsltf/WellBehavedMoveOnlyAllocTestType.adoc[WellBehavedMoveOnlyAllocTestType] const& lhs, xref:BloombergLP/bsltf/WellBehavedMoveOnlyAllocTestType.adoc[WellBehavedMoveOnlyAllocTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-05f.adoc[_» more..._]# Return `true` if the specified iterators do not refer to the same underlying position, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-060.adoc[operator!=]( xref:BloombergLP/bsltf/InputIterator.adoc[InputIterator<TYPE2>] const&, xref:BloombergLP/bsltf/InputIterator.adoc[InputIterator<TYPE2>] const&); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-060.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` do not refer to the same `TYPE` object and `false` othersise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class TYPE> bool xref:BloombergLP/bsltf/operator_not_eq-0bdd.adoc[operator!=]( xref:BloombergLP/bsltf/InputIterator.adoc[InputIterator<TYPE>] const& lhs, xref:BloombergLP/bsltf/InputIterator.adoc[InputIterator<TYPE>] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-0bdd.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` adaptors are not equal and `false` otherwise. Two allocator adaptor instances are not equal if their associated allocator instances are not equal. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE1, class TYPE2> bool xref:BloombergLP/bsltf/operator_not_eq-092.adoc[operator!=]( xref:BloombergLP/bsltf/StdAllocatorAdaptor.adoc[StdAllocatorAdaptor<TYPE1>] const& lhs, xref:BloombergLP/bsltf/StdAllocatorAdaptor.adoc[StdAllocatorAdaptor<TYPE2>] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-092.adoc[_» more..._]# Return `true` if the specified iterator and sentinel do _not_ refer to the same element, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-069.adoc[operator!=]( xref:BloombergLP/bsltf/TestValuesArrayIterator.adoc[TestValuesArrayIterator<OTHER_VALUE>] const&, xref:BloombergLP/bsltf/TestValuesArraySentinel.adoc[TestValuesArraySentinel<OTHER_VALUE>] const&); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-069.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `NonTypicalOverloadsTestType` objects do not have the same value if their `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-004.adoc[operator!=]( xref:BloombergLP/bsltf/NonTypicalOverloadsTestType.adoc[NonTypicalOverloadsTestType] const& lhs, xref:BloombergLP/bsltf/NonTypicalOverloadsTestType.adoc[NonTypicalOverloadsTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-004.adoc[_» more..._]# Return `true` if the specified sentinel and iterator do _not_ refer to the same element, and `false` otherwise. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-051.adoc[operator!=]( xref:BloombergLP/bsltf/TestValuesArraySentinel.adoc[TestValuesArraySentinel<OTHER_VALUE>] const&, xref:BloombergLP/bsltf/TestValuesArrayIterator.adoc[TestValuesArrayIterator<OTHER_VALUE>] const&); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-051.adoc[_» more..._]# Return `true` if the specified `lhs` and the specified `rhs` do _not_ refer to the same element, and `false` otherwise. The behavior is undefined unless `lhs` and `rhs` are comparable. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class VALUE> bool xref:BloombergLP/bsltf/operator_not_eq-014.adoc[operator!=]( xref:BloombergLP/bsltf/TestValuesArrayIterator.adoc[TestValuesArrayIterator<VALUE>] const& lhs, xref:BloombergLP/bsltf/TestValuesArrayIterator.adoc[TestValuesArrayIterator<VALUE>] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-014.adoc[_» more..._]# Return `true` if the specified `lhs` and the specified `rhs` do _not_ refer to the same element, and `false` otherwise. The behavior is undefined unless `lhs` and `rhs` are comparable. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class VALUE> bool xref:BloombergLP/bsltf/operator_not_eq-0b0.adoc[operator!=]( xref:BloombergLP/bsltf/TestValuesArrayIterator.adoc[TestValuesArrayIterator<VALUE>] const& lhs, xref:BloombergLP/bsltf/TestValuesArraySentinel.adoc[TestValuesArraySentinel<VALUE>] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-0b0.adoc[_» more..._]# Return `true` if the specified `lhs` and the specified `rhs` do _not_ refer to the same element, and `false` otherwise. The behavior is undefined unless `lhs` and `rhs` are comparable. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class VALUE> bool xref:BloombergLP/bsltf/operator_not_eq-02f.adoc[operator!=]( xref:BloombergLP/bsltf/TestValuesArraySentinel.adoc[TestValuesArraySentinel<VALUE>] const& lhs, xref:BloombergLP/bsltf/TestValuesArrayIterator.adoc[TestValuesArrayIterator<VALUE>] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-02f.adoc[_» more..._]# Return an `EvilBoolanType` value that converts to `true` if the specified `lhs` and `rhs` do not have the same value, and a value that converts to `false` otherwise. Two `EvilBooleanType` objects do not have the same value if the values resulting from converting each to `bool` do not have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bsltf/EvilBooleanType.adoc[bsltf::EvilBooleanType] xref:BloombergLP/bsltf/operator_not_eq-018.adoc[operator!=]( xref:BloombergLP/bsltf/EvilBooleanType.adoc[EvilBooleanType] const& lhs, xref:BloombergLP/bsltf/EvilBooleanType.adoc[EvilBooleanType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-018.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` have different underlying test allocators, and `false` otherwise. [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 xref:BloombergLP/bsltf/operator_not_eq-0c.adoc[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); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-0c.adoc[_» more..._]# Return `false` because `StdTestAllocator` does not hold a state. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE1, class TYPE2> bool xref:BloombergLP/bsltf/operator_not_eq-0e.adoc[operator!=]( xref:BloombergLP/bsltf/StdTestAllocator-05.adoc[StdTestAllocator<TYPE1>] const& lhs, xref:BloombergLP/bsltf/StdTestAllocator-05.adoc[StdTestAllocator<TYPE2>] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-0e.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `AllocBitwiseMoveableTestType` objects do not have the same value if their `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-079.adoc[operator!=]( xref:BloombergLP/bsltf/AllocBitwiseMoveableTestType.adoc[AllocBitwiseMoveableTestType] const& lhs, xref:BloombergLP/bsltf/AllocBitwiseMoveableTestType.adoc[AllocBitwiseMoveableTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-079.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `NonOptionalAllocTestType` objects do not have the same value if their `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-0a.adoc[operator!=]( xref:BloombergLP/bsltf/NonOptionalAllocTestType.adoc[NonOptionalAllocTestType] const& lhs, xref:BloombergLP/bsltf/NonOptionalAllocTestType.adoc[NonOptionalAllocTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-0a.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `NonDefaultConstructibleTestType` objects do not have the same value if `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-0b1.adoc[operator!=]( xref:BloombergLP/bsltf/NonDefaultConstructibleTestType.adoc[NonDefaultConstructibleTestType] const& lhs, xref:BloombergLP/bsltf/NonDefaultConstructibleTestType.adoc[NonDefaultConstructibleTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-0b1.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `NonCopyConstructibleTestType` objects do not have the same value if their `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-05bc.adoc[operator!=]( xref:BloombergLP/bsltf/NonCopyConstructibleTestType.adoc[NonCopyConstructibleTestType] const& lhs, xref:BloombergLP/bsltf/NonCopyConstructibleTestType.adoc[NonCopyConstructibleTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-05bc.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `NonAssignableTestType` objects do not have the same value if their `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-00b.adoc[operator!=]( xref:BloombergLP/bsltf/NonAssignableTestType.adoc[NonAssignableTestType] const& lhs, xref:BloombergLP/bsltf/NonAssignableTestType.adoc[NonAssignableTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-00b.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `MoveOnlyAllocTestType` objects do not have the same value if their `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-02d.adoc[operator!=]( xref:BloombergLP/bsltf/MoveOnlyAllocTestType.adoc[MoveOnlyAllocTestType] const& lhs, xref:BloombergLP/bsltf/MoveOnlyAllocTestType.adoc[MoveOnlyAllocTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-02d.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same `data()` value, and `false` otherwise. Two `MovableTestType` objects do not have the same value if their `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-0bb.adoc[operator!=]( xref:BloombergLP/bsltf/MovableTestType.adoc[MovableTestType] const& lhs, xref:BloombergLP/bsltf/MovableTestType.adoc[MovableTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-0bb.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `MovableAllocTestType` objects do not have the same value if their `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-0bc.adoc[operator!=]( xref:BloombergLP/bsltf/MovableAllocTestType.adoc[MovableAllocTestType] const& lhs, xref:BloombergLP/bsltf/MovableAllocTestType.adoc[MovableAllocTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-0bc.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `EmplacableTestType` objects do not have the same value if any of their corresponding attributes do not have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-02e.adoc[operator!=]( xref:BloombergLP/bsltf/EmplacableTestType.adoc[EmplacableTestType] const& lhs, xref:BloombergLP/bsltf/EmplacableTestType.adoc[EmplacableTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-02e.adoc[_» more..._]# Return `false`; the copy/move state is _not_ a salient attribute, so all `CopyMoveTracker` objects compare equal. Note that this operator is called implicitly if a client class defines a defaulted comparison operator (C++20), but will not be selected by overload resolution for a derived class having no comparison operator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool xref:BloombergLP/bsltf/operator_not_eq-0f0.adoc[operator!=]( xref:BloombergLP/bsltf/CopyMoveTracker.adoc[CopyMoveTracker] const&, OTHER const&) requires bsl::is_same<CopyMoveTracker, OTHER>::value; ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-0f0.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `BitwiseMoveableTestType` objects do not have the same value if their `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-0d.adoc[operator!=]( xref:BloombergLP/bsltf/BitwiseMoveableTestType.adoc[BitwiseMoveableTestType] const& lhs, xref:BloombergLP/bsltf/BitwiseMoveableTestType.adoc[BitwiseMoveableTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-0d.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `BitwiseCopyableTestType` objects do not have the same value if their `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-000.adoc[operator!=]( xref:BloombergLP/bsltf/BitwiseCopyableTestType.adoc[BitwiseCopyableTestType] const& lhs, xref:BloombergLP/bsltf/BitwiseCopyableTestType.adoc[BitwiseCopyableTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-000.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `AllocTestType` objects do not have the same value if their `data` attributes are not the same. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-05bf.adoc[operator!=]( xref:BloombergLP/bsltf/AllocTestType.adoc[AllocTestType] const& lhs, xref:BloombergLP/bsltf/AllocTestType.adoc[AllocTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-05bf.adoc[_» more..._]# Return `true` if the specified `lhs` and `rhs` objects do not have the same value, and `false` otherwise. Two `AllocEmplacableTestType` objects do not have the same value if any of their corresponding attributes do not have the same value. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-094.adoc[operator!=]( xref:BloombergLP/bsltf/AllocEmplacableTestType.adoc[AllocEmplacableTestType] const& lhs, xref:BloombergLP/bsltf/AllocEmplacableTestType.adoc[AllocEmplacableTestType] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-094.adoc[_» more..._]# Same as the preceding overload with operand order reversed. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-015.adoc[operator!=]( int a, xref:BloombergLP/bsltf/CopyMoveState-0e/Enum.adoc[CopyMoveState::Enum] b); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-015.adoc[_» more..._]# Return `true` if the integral values of the specified `a` and `b` do not compare equal; otherwise return `false`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool xref:BloombergLP/bsltf/operator_not_eq-02c.adoc[operator!=]( xref:BloombergLP/bsltf/CopyMoveState-0e/Enum.adoc[CopyMoveState::Enum] a, int b); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-02c.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#