Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Erase
Function
Erase
util/generic/algorithm.h:331–333 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
329
330
template <class C, class TValue>
331
void Erase(C& c, const TValue& value) {
332
c.erase(std::remove(c.begin(), c.end(), value), c.end());
333
}
334
335
template <class C, class P>
336
void EraseIf(C& c, P p) {
Callers
15
Erase
Method · 0.85
RemoveIfOverflown
Method · 0.85
RemoveIfOverflown
Method · 0.85
RemoveIfOverflown
Method · 0.85
UpdateImpl
Method · 0.85
Clear
Method · 0.85
Erase
Method · 0.85
ReleaseMessage
Method · 0.85
UnsafeArenaReleaseMessage
Method · 0.85
ReleaseMessage
Method · 0.85
UnsafeArenaReleaseMessage
Method · 0.85
SwapExtension
Method · 0.85
Calls
4
remove
Function · 0.50
erase
Method · 0.45
begin
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected