Equality operators
Declared in <bslstl_bidirectionaliterator.h>
Return true if lhs and rhs have the same value.
template<
class T1,
class T2,
class ITER_IMP,
class TAG_TYPE>
bool
operator==(
ForwardIterator<T1, ITER_IMP, TAG_TYPE> const& lhs,
ForwardIterator<T2, ITER_IMP, TAG_TYPE> const& rhs);
» more...
Return whether two bidirectional iterators refer to the same position.
template<
class T1,
class T2,
class ITER_IMP,
class TAG_TYPE>
bool
operator==(
BidirectionalIterator<T1, ITER_IMP, TAG_TYPE> const& lhs,
BidirectionalIterator<T2, ITER_IMP, TAG_TYPE> const& rhs);
» more...
Return true if lhs and rhs have the same value.
template<
class T1,
class T2,
class ITER_IMP,
class TAG_TYPE>
bool
operator==(
RandomAccessIterator<T1, ITER_IMP, TAG_TYPE> const& lhs,
RandomAccessIterator<T2, ITER_IMP, TAG_TYPE> const& rhs);
» more...
Return whether the specified iterators refer to the same tree node.
bool
operator==(
TreeIterator<VALUE1, NODEPTR, DIFF> const& lhs,
TreeIterator<VALUE2, NODEPTR, DIFF> const& rhs);
» more...
Return true if lhs and rhs refer to the same position.
template<
class VALUE1,
class VALUE2,
class NODEPTR,
class DIFF>
bool
operator==(
TreeIterator<VALUE1, NODEPTR, DIFF> const& lhs,
TreeIterator<VALUE2, NODEPTR, DIFF> const& rhs);
» more...
Return true if lhs and rhs have the same value.
template<
class KEY_CONFIG,
class HASHER,
class COMPARATOR,
class ALLOCATOR>
bool
operator==(
HashTable<KEY_CONFIG, HASHER, COMPARATOR, ALLOCATOR> const& lhs,
HashTable<KEY_CONFIG, HASHER, COMPARATOR, ALLOCATOR> const& rhs);
» more...
Return true if the specified lhs and rhs have the same value.
template<
class VALUE_TYPE,
class DIFFERENCE_TYPE>
bool
operator==(
HashTableBucketIterator<VALUE_TYPE, DIFFERENCE_TYPE> const& lhs,
HashTableBucketIterator<VALUE_TYPE, DIFFERENCE_TYPE> const& rhs);
» more...
Return true if the specified lhs and rhs have the same value.
template<
class VALUE_TYPE,
class DIFFERENCE_TYPE>
bool
operator==(
HashTableBucketIterator<VALUE_TYPE, DIFFERENCE_TYPE> const& lhs,
HashTableBucketIterator<VALUE_TYPE const, DIFFERENCE_TYPE> const& rhs);
» more...
Return true if the specified lhs and rhs have the same value.
template<
class VALUE_TYPE,
class DIFFERENCE_TYPE>
bool
operator==(
HashTableBucketIterator<VALUE_TYPE const, DIFFERENCE_TYPE> const& lhs,
HashTableBucketIterator<VALUE_TYPE, DIFFERENCE_TYPE> const& rhs);
» more...
Return true if the specified lhs and rhs have the same value.
template<
class VALUE_TYPE,
class DIFFERENCE_TYPE>
bool
operator==(
HashTableBucketIterator<VALUE_TYPE const, DIFFERENCE_TYPE> const& lhs,
HashTableBucketIterator<VALUE_TYPE const, DIFFERENCE_TYPE> const& rhs);
» more...
Return true if lhs and rhs have the same value.
template<
class VALUE_TYPE,
class DIFFERENCE_TYPE>
bool
operator==(
HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE> const& lhs,
HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE> const& rhs);
» more...
Same as the preceding overload.
template<
class VALUE_TYPE,
class DIFFERENCE_TYPE>
bool
operator==(
HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE> const& lhs,
HashTableIterator<VALUE_TYPE const, DIFFERENCE_TYPE> const& rhs);
» more...
Same as the preceding overload.
template<
class VALUE_TYPE,
class DIFFERENCE_TYPE>
bool
operator==(
HashTableIterator<VALUE_TYPE const, DIFFERENCE_TYPE> const& lhs,
HashTableIterator<VALUE_TYPE, DIFFERENCE_TYPE> const& rhs);
» more...
Same as the preceding overload.
template<
class VALUE_TYPE,
class DIFFERENCE_TYPE>
bool
operator==(
HashTableIterator<VALUE_TYPE const, DIFFERENCE_TYPE> const& lhs,
HashTableIterator<VALUE_TYPE const, DIFFERENCE_TYPE> const& rhs);
» more...
true if lhs and rhs have the same value, and false otherwisetrue if the iterators have the same value, and false otherwisetrue if the iterators refer to the same tree node, and false otherwisetrue if the hash tables compare equaltrue if the iterators have the same value| Name | Description |
|---|---|
| lhs | first iterator to compare |
| rhs | second iterator to compare |