find overloads

Synopses

Declared in <llvm/ADT/DenseMap.h>

Return an iterator to the entry for Val, or end() if not found.

[[nodiscard]]
iterator
find(const_arg_type_t<KeyT> Val);

Return a const iterator to the entry for Val, or end() if not found.

[[nodiscard]]
const_iterator
find(const_arg_type_t<KeyT> Val) const;

Return Value

  • Iterator to the matching entry, or end() if not found.

  • Const iterator to the matching entry, or end() if not found.

Note

The return value should not be discarded.

Parameters

Name

Description

Val

Key to look up.

Created with MrDocs