MCPcopy Create free account
hub / github.com/ashvardanian/StringZilla / begin

Method begin

include/stringzilla/stringzilla.hpp:840–840  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

838 };
839
840 iterator begin() const noexcept { return {string_view_type(haystack_), matcher_}; }
841 iterator end() const noexcept { return {string_view_type(haystack_.end(), 0), matcher_, end_sentinel_type {}}; }
842 size_type size() const noexcept { return static_cast<size_type>(ssize()); }
843 difference_type ssize() const noexcept { return std::distance(begin(), end()); }

Callers 6

operator[]Method · 0.45
basic_stringMethod · 0.45
insertMethod · 0.45
basic_stringClass · 0.45
try_appendMethod · 0.45
try_replace_all_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected