Return true if lhs and rhs refer to the same token position.
Declared in <bdlb_tokenizer.h>
bool
operator==(
TokenizerIterator const& lhs,
TokenizerIterator const& rhs);
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.
true if lhs and rhs have the same value, and false otherwise
| Name | Description |
|---|---|
| lhs | left-hand iterator to compare |
| rhs | right-hand iterator to compare |