MCPcopy Create free account
hub / github.com/Icinga/icinga2 / ParallelFor

Method ParallelFor

lib/base/workqueue.hpp:70–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68
69 template<typename VectorType, typename FuncType>
70 void ParallelFor(VectorType&& items, const FuncType& func)
71 {
72 ParallelFor(std::forward<VectorType>(items), true, func);
73 }
74
75 template<typename VectorType, typename FuncType, typename = std::enable_if_t<!std::is_rvalue_reference_v<VectorType&&>>>
76 void ParallelFor(VectorType&& items, bool preChunk, const FuncType& func)

Callers 2

CommitNewItemsMethod · 0.80

Calls 1

sizeFunction · 0.85

Tested by

no test coverage detected