MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / for_each

Function for_each

Engine/source/core/tAlgorithm.h:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 /// Steps thru the elements of an array calling detete for each.
48 template <class Iterator, class Functor>
49 void for_each(Iterator first, Iterator last, Functor func)
50 {
51 for (; first != last; first++)
52 func(*first);
53 }
54
55 /// Functor for deleting a pointer.
56 /// @see for_each

Callers 15

ForEachFunction · 0.85
RunAllTestsMethod · 0.85
filter.cppFile · 0.85
source.cppFile · 0.85
~ALsourceMethod · 0.85
buffer.cppFile · 0.85
effect.cppFile · 0.85
SynthesizeOnsetsFunction · 0.85
SynthesizeHrirsFunction · 0.85
NormalizeHrirsFunction · 0.85
LinkChannelsFunction · 0.85
processMethod · 0.85

Calls

no outgoing calls

Tested by 4

ForEachFunction · 0.68
RunAllTestsMethod · 0.68
ForEachFunction · 0.68
RunAllTestsMethod · 0.68