MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / operator()

Method operator()

scripts/bench_find.cpp:513–513  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

511 inline matcher_std_string_last_of_t(std::string_view needles) noexcept : needles_(needles) {}
512 inline size_type needle_length() const noexcept { return 1; }
513 inline size_type operator()(std::string_view haystack) const noexcept { return haystack.find_last_of(needles_); }
514 constexpr size_type skip_length() const noexcept { return 1; }
515};
516

Callers

nothing calls this directly

Calls 1

find_last_ofMethod · 0.45

Tested by

no test coverage detected