MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / withIterators

Method withIterators

Libraries/Strings/StringView.h:674–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

672
673template <typename Func>
674constexpr auto SC::StringView::withIterators(StringView s1, StringView s2, Func&& func)
675{
676 return s1.withIterator([&s2, &func](auto it1)
677 { return s2.withIterator([&it1, &func](auto it2) { return func(it1, it2); }); });
678}
679
680constexpr bool SC::StringView::hasCompatibleEncoding(StringView str) const
681{

Callers

nothing calls this directly

Calls 1

withIteratorMethod · 0.80

Tested by

no test coverage detected