MCPcopy Index your code
hub / github.com/Kitware/CMake / transform

Method transform

Source/cmRange.h:201–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199
200 template <typename UnaryFunction>
201 auto transform(UnaryFunction f) const
202 -> cmRange<RangeIterators::TransformIterator<Iter, UnaryFunction>>
203 {
204 using It = RangeIterators::TransformIterator<Iter, UnaryFunction>;
205 return { It(this->Begin, f), It(this->End, f) };
206 }
207
208private:
209 Iter Begin;

Callers 11

testTransformFunction · 0.80
testRangeFunction · 0.80
HandleTransformCommandFunction · 0.80
DeferGetCallIdsMethod · 0.80
HandlePackageModeMethod · 0.80
EvaluateMethod · 0.80
GetDebugConfigsMethod · 0.80
JoinListFunction · 0.80
HandlePathCommandFunction · 0.80
InitializeHandlerMethod · 0.80

Calls

no outgoing calls

Tested by 4

testTransformFunction · 0.64
testRangeFunction · 0.64
InitializeHandlerMethod · 0.64