[#BloombergLP-bdlb-operator_eq-026] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator== :relfileprefix: ../../ :mrdocs: Return `true` if `lhs` and `rhs` refer to the same token position. == Synopsis Declared in `<bdlb_tokenizer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool operator==( xref:BloombergLP/bdlb/TokenizerIterator.adoc[TokenizerIterator] const& lhs, xref:BloombergLP/bdlb/TokenizerIterator.adoc[TokenizerIterator] const& rhs); ---- == Description Return `true` if the specified `lhs` and `rhs` objects have the same value, and `false` otherwise. Two `TokenizerIterator` objects have the same value if both of them are pointing to the same token within the same tokenized string or if they both point past the tokenized string. The behaviour is undefined unless the iterators returned by the same `Tokenizer` object, or if the underlying input has been modified or destroyed since any of those objects were created. == Return Value `true` if `lhs` and `rhs` have the same value, and `false` otherwise == Parameters [cols="1,4"] |=== | Name| Description | *lhs* | left‐hand iterator to compare | *rhs* | right‐hand iterator to compare |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#