Returns an iterator to the element matching key, or end() if absent.

Synopsis

Declared in <folly/container/sorted_vector_types.h>

template<typename K>
if_is_transparent<K, const_iterator>
find(K const& key) const;

Return Value

An iterator to the matching element, or end() if absent.

Parameters

Name

Description

key

The key to look for.

Created with MrDocs