MCPcopy Create free account
hub / github.com/PeterFWS/Structure-PLP-SLAM / string_startswith

Function string_startswith

src/PLPSLAM/util/string.h:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 }
50
51 inline bool string_startswith(const std::string &str, const std::string &qry)
52 {
53 return str.size() >= qry.size() && std::equal(std::begin(qry), std::end(qry), std::begin(str));
54 }
55
56 } // namespace util
57} // namespace PLPSLAM

Callers 1

config.ccFile · 0.85

Calls 3

beginFunction · 0.50
endFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected