Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
230
void Trim(std::string & s)
231
{
232
boost::trim_if(s, IsASCIISpace<std::string::value_type>);
233
}
234
235
void Trim(std::string_view & sv)
236
{
Callers
15
PrintAsCSV
Function · 0.85
ParseAccessConditionalTag
Method · 0.85
TrimAndDropAroundParentheses
Method · 0.85
ValidateAndFormat_destination
Method · 0.85
ValidateAndFormat_wikipedia
Method · 0.85
MixFakeNodes
Function · 0.85
ReadPolygon
Function · 0.85
PreprocessElement
Function · 0.85
WikidataHelper
Method · 0.85
MakePathForWikipedia
Method · 0.85
ParseMapCSS
Function · 0.85
GetPostcodes
Function · 0.85
Calls
9
IsASCIISpace
Function · 0.85
distance
Function · 0.85
ASSERT
Function · 0.85
cbegin
Method · 0.45
cend
Method · 0.45
end
Method · 0.45
data
Method · 0.45
begin
Method · 0.45
size
Method · 0.45
Tested by
3
TestTrim
Function · 0.68
UNIT_TEST
Function · 0.68
ReadInput
Function · 0.68