Semmle 1.22
Skip to end of metadata
Go to start of metadata

Finds calls to `std::map<...>::find()`

import cpp

from FunctionCall call, Function fcn
where
  call.getTarget() = fcn and
  fcn.getDeclaringType().getSimpleName() = "map" and
  fcn.getDeclaringType().getNamespace().getName() = "std" and
  fcn.hasName("find")
select call