MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / FindCharNotIn

Method FindCharNotIn

src/core/string_consumer.cpp:129–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

127}
128
129StringConsumer::size_type StringConsumer::FindCharNotIn(std::string_view chars) const
130{
131 assert(!chars.empty());
132 auto buf = this->src.substr(this->position);
133 return buf.find_first_not_of(chars);
134}
135
136std::string_view StringConsumer::PeekUntil(std::string_view str, SeparatorUsage sep) const
137{

Callers 4

PeekUntilCharNotInMethod · 0.95
ReadUntilCharNotInMethod · 0.95
SkipUntilCharNotInMethod · 0.95

Calls 2

substrMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected