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

Function rtrim

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

Source from the content-addressed store, hash-verified

78}
79
80void rtrim(std::string &str)
81{
82 str.erase(std::find_if(str.rbegin(), str.rend(), [](char ch) { return !std::isspace(ch); }).base(), str.end());
83}
84
85void trim(std::string &str)
86{

Callers 1

trimFunction · 0.85

Calls 1

endMethod · 0.45

Tested by

no test coverage detected