MCPcopy Create free account
hub / github.com/comaps/comaps / Trim

Function Trim

libs/base/string_utils.cpp:230–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230void Trim(std::string & s)
231{
232 boost::trim_if(s, IsASCIISpace<std::string::value_type>);
233}
234
235void Trim(std::string_view & sv)
236{

Callers 15

PrintAsCSVFunction · 0.85
MixFakeNodesFunction · 0.85
ReadPolygonFunction · 0.85
PreprocessElementFunction · 0.85
WikidataHelperMethod · 0.85
MakePathForWikipediaMethod · 0.85
ParseMapCSSFunction · 0.85
GetPostcodesFunction · 0.85

Calls 9

IsASCIISpaceFunction · 0.85
distanceFunction · 0.85
ASSERTFunction · 0.85
cbeginMethod · 0.45
cendMethod · 0.45
endMethod · 0.45
dataMethod · 0.45
beginMethod · 0.45
sizeMethod · 0.45

Tested by 3

TestTrimFunction · 0.68
UNIT_TESTFunction · 0.68
ReadInputFunction · 0.68