[#bsl-operator_eq-0e4] = xref:bsl.adoc[bsl]::operator== :relfileprefix: ../ :mrdocs: Return `true` if the specified `lhs` and `rhs` iterators refer to the same list element or both are the `end()` iterator of the same list. == Synopsis Declared in `<bslstl_list.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class T1, class T2> bool operator==( xref:bsl/List_Iterator.adoc[List_Iterator<T1>] lhs, xref:bsl/List_Iterator.adoc[List_Iterator<T2>] rhs); ---- == Return Value `true` if the iterators refer to the same element == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | first iterator to compare | *rhs* | second iterator to compare |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#