MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / find_invalid

Function find_invalid

external/utf8/cpp17.h:63–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 inline std::size_t find_invalid(std::string_view s)
64 {
65 std::string_view::const_iterator invalid = find_invalid(s.begin(), s.end());
66 return (invalid == s.end()) ? std::string_view::npos : static_cast<std::size_t>(invalid - s.begin());
67 }
68
69 inline bool is_valid(std::string_view s)
70 {

Callers

nothing calls this directly

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected