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

Method filter

Source/cmRange.h:193–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191
192 template <typename UnaryPredicate>
193 auto filter(UnaryPredicate p) const
194 -> cmRange<RangeIterators::FilterIterator<Iter, UnaryPredicate>>
195 {
196 using It = RangeIterators::FilterIterator<Iter, UnaryPredicate>;
197 return { It(this->Begin, this->End, p), It(this->End, this->End, p) };
198 }
199
200 template <typename UnaryFunction>
201 auto transform(UnaryFunction f) const

Callers 7

testFilterFunction · 0.80
testRangeFunction · 0.80
call_filterFunction · 0.80
HandleFilterCommandFunction · 0.80
DeferGetCallIdsMethod · 0.80
EvaluateMethod · 0.80
EvaluateMethod · 0.80

Calls

no outgoing calls

Tested by 2

testFilterFunction · 0.64
testRangeFunction · 0.64