MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / ltrim

Function ltrim

src/runtime/CL/mlgo/MLGOParser.cpp:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73namespace
74{
75void ltrim(std::string &str)
76{
77 str.erase(str.begin(), std::find_if(str.begin(), str.end(), [](char ch) { return !std::isspace(ch); }));
78}
79
80void rtrim(std::string &str)
81{

Callers 1

trimFunction · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected