MCPcopy Create free account
hub / github.com/OpenCppCoverage/OpenCppCoverage / EraseIf

Function EraseIf

FileFilter/UnifiedDiffParser.cpp:83–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 //---------------------------------------------------------------------
82 template <typename Container, typename Fct>
83 void EraseIf(Container& container, Fct fct)
84 {
85 auto it = std::remove_if(container.begin(), container.end(), fct);
86 container.erase(it, container.end());
87 }
88
89 //---------------------------------------------------------------------
90 void RemoveDevNull(

Callers 1

RemoveDevNullFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected