MCPcopy Create free account
hub / github.com/Kitware/CMake / cmRemoveMatching

Function cmRemoveMatching

Source/cmAlgorithms.h:98–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

96
97template <typename Range, typename MatchRange>
98auto cmRemoveMatching(Range& r, MatchRange const& m) -> decltype(r.begin())
99{
100 return std::remove_if(r.begin(), r.end(),
101 ContainerAlgorithms::BinarySearcher<MatchRange>(m));
102}
103
104template <typename ForwardIterator>
105ForwardIterator cmRemoveDuplicates(ForwardIterator first, ForwardIterator last)

Callers 1

cmList.cxxFile · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…