MCPcopy Create free account
hub / github.com/cginternals/globjects / startsWith

Function startsWith

source/globjects/source/IncludeProcessor.cpp:34–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32}
33
34inline bool startsWith(const std::string& string, char firstChar)
35{
36 return !string.empty() && string.front() == firstChar;
37}
38
39inline bool endsWith(const std::string& string, char firstChar)
40{

Callers 1

processIncludeMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected