MCPcopy 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
330template <class C, class TValue>
331void Erase(C& c, const TValue& value) {
332 c.erase(std::remove(c.begin(), c.end(), value), c.end());
333}
334
335template <class C, class P>
336void EraseIf(C& c, P p) {

Callers 15

EraseMethod · 0.85
RemoveIfOverflownMethod · 0.85
RemoveIfOverflownMethod · 0.85
RemoveIfOverflownMethod · 0.85
UpdateImplMethod · 0.85
ClearMethod · 0.85
EraseMethod · 0.85
ReleaseMessageMethod · 0.85
ReleaseMessageMethod · 0.85
SwapExtensionMethod · 0.85

Calls 4

removeFunction · 0.50
eraseMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected