[#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& lhs, xref:BloombergLP/bsltf/TestValuesArrayIterator.adoc[TestValuesArrayIterator<OTHER_VALUE>] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-028.adoc[_» more..._]# Return whether two objects do not have the same value. [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 whether two objects do not have the same value. [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. [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. [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& lhs, xref:BloombergLP/bsltf/InputIterator.adoc[InputIterator<TYPE2>] const& rhs); ---- [.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 whether two allocator adaptors do not compare 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& lhs, xref:BloombergLP/bsltf/TestValuesArraySentinel.adoc[TestValuesArraySentinel<OTHER_VALUE>] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-069.adoc[_» more..._]# Return whether two objects do not have the same value. [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& lhs, xref:BloombergLP/bsltf/TestValuesArrayIterator.adoc[TestValuesArrayIterator<OTHER_VALUE>] const& rhs); ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-051.adoc[_» more..._]# Return `true` if `lhs` and `rhs` do not refer to the same element. [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 `lhs` and `rhs` do not refer to the same element. [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 `lhs` and `rhs` do not refer to the same element. [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 whether two objects 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 whether two allocators wrap different underlying allocators. [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 whether two objects do not have the same value. [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` do not have the same value. [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 whether two objects do not have the same value. [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 whether two objects do not have the same value. [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 whether two objects do not have the same value. [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 whether the two objects do not have the same value. [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` do not have the same value. [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` do not have the same value. [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 whether two `EmplacableTestType` objects differ in 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 whether two `CopyMoveTracker` objects have different values. [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& lhs, OTHER const& rhs) requires bsl::is_same<CopyMoveTracker, OTHER>::value; ---- [.small]#xref:BloombergLP/bsltf/operator_not_eq-0f0.adoc[_» more..._]# Return whether two objects do not have the same value. [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 whether two objects do not have the same value. [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 whether two objects do not have the same value. [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 whether two `AllocEmplacableTestType` objects differ in 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..._]# == Return Value * `true` if the iterators do not refer to the same element * `true` if `lhs` and `rhs` differ, else `false` * `true` if the iterators refer to different positions * `true` if the iterators refer to different objects * `true` if `lhs` and `rhs` do not compare equal, else `false` * `true` if they do not refer to the same element * an `EvilBooleanType` converting to `true` if the operands differ * `true` if `lhs` and `rhs` wrap different allocators, else `false` * `false` because `StdTestAllocator` does not hold a state * `true` if `lhs` and `rhs` do not have the same value, and `false` otherwise * `false` * `true` if `a` and `b` do not compare equal, else `false` == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand iterator | *rhs* | right‐hand iterator | *a* | left‐hand operand | *b* | right‐hand operand |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#