| 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) |
no test coverage detected