Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RozDavid/UnScene3D
/ ends_with
Function
ends_with
utils/cpp_utils/include/segmentator.h:110–113 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
108
}
109
110
inline bool ends_with(const std::string& value, const std::string& ending) {
111
if (ending.size() > value.size()) { return false; }
112
return std::equal(ending.rbegin(), ending.rend(), value.rbegin());
113
}
114
115
Callers
nothing calls this directly
Calls
1
size
Method · 0.80
Tested by
no test coverage detected