bsl::unordered_set<ManagedAttribute, AttributeHash>::find

find overloads

Synopses

Declared in <bslstl_unorderedset.h>

Return an iterator providing modifiable access to the value_type object in this unordered set that is equivalent to the specified key, if such an entry exists, and the past-the-end (end) iterator otherwise.

iterator
find(key_type const& key);
» more...

Return an iterator providing non-modifiable access to the value_type object in this unordered set that is equivalent to the specified key, if such an entry exists, and the past-the-end (end) iterator otherwise.

const_iterator
find(key_type const& key) const;
» more...

Return an iterator providing modifiable access to the value_type object in this unordered set that is equivalent to the specified key, if such an entry exists, and the past-the-end (end) iterator otherwise. The behavior is undefined unless key is equivalent to at most one element in this unordered set.

template<class LOOKUP_KEY>
iterator
find(LOOKUP_KEY const& key)
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value
        && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value;
» more...

Return an iterator providing non-modifiable access to the value_type object in this unordered set that is equivalent to the specified key, if such an entry exists, and the past-the-end (end) iterator otherwise. The behavior is undefined unless key is equivalent to at most one element in this unordered set.

template<class LOOKUP_KEY>
const_iterator
find(LOOKUP_KEY const& key) const
requires BloombergLP::bslmf::IsTransparentPredicate<HASH, LOOKUP_KEY>::value
        && BloombergLP::bslmf::IsTransparentPredicate<EQUAL,LOOKUP_KEY>::value;
» more...