[#BloombergLP-bslstl-operator_not_eq-0bc] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::operator!= :relfileprefix: ../../ :mrdocs: Return `true` if `lhs` and `rhs` do not have the same value. == Synopsis Declared in `<bslstl_forwarditerator.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class T1, class T2, class ITER_IMP, class TAG_TYPE> bool operator!=( xref:BloombergLP/bslstl/ForwardIterator.adoc[ForwardIterator<T1, ITER_IMP, TAG_TYPE>] const& lhs, xref:BloombergLP/bslstl/ForwardIterator.adoc[ForwardIterator<T2, ITER_IMP, TAG_TYPE>] const& rhs); ---- == Description Return `true` if the specified `lhs` iterator does not have the same value as the specified `rhs` iterator, and `false` otherwise. Two iterators do not have the same value if (1) they do not refer to the same element and (2) both do not have the past‐the‐end iterator value for the underlying sequence. The behavior is undefined unless both iterators refer to the same underlying sequence. == Return Value `true` if `lhs` and `rhs` do not have the same value, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | first iterator to compare | *rhs* | second iterator to compare |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#