Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Kitware/VTK
/ rtrim
Function
rtrim
IO/IOSS/vtkIOSSFilesScanner.cxx:17–22 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
15
namespace
16
{
17
void rtrim(std::string& s)
18
{
19
s.erase(
20
std::find_if(s.rbegin(), s.rend(), [](unsigned char ch) { return !std::isspace(ch); }).base(),
21
s.end());
22
}
23
}
24
25
VTK_ABI_NAMESPACE_BEGIN
Callers
2
IsMetaFile
Method · 0.70
GetFilesFromMetaFile
Method · 0.70
Calls
5
rbegin
Method · 0.80
rend
Method · 0.80
erase
Method · 0.45
base
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected