MCPcopy Create free account
hub / github.com/cucumber/cucumber-cpp / isUtf8CodeUnitStartOfCodepoint

Function isUtf8CodeUnitStartOfCodepoint

src/Regex.cpp:30–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29namespace {
30bool isUtf8CodeUnitStartOfCodepoint(unsigned int i) {
31 return (i & 0xc0) != 0x80;
32}
33
34std::ptrdiff_t utf8CodepointOffset(
35 const std::string& expression, const std::string::const_iterator& it

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected