Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AshampooSystems/boden
/ ltrim
Function
ltrim
framework/foundation/src/String.cpp:29–32 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
}
28
29
void ltrim(std::string &s)
30
{
31
s.erase(s.begin(), std::find_if(s.begin(), s.end(), [](int ch) { return std::isspace(ch) == 0; }));
32
}
33
34
void rtrim(std::string &s)
35
{
Callers
2
trim
Function · 0.85
ltrim_copy
Function · 0.85
Calls
2
begin
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected