MCPcopy Create free account
hub / github.com/Profactor/cv-plot / chunk

Function chunk

CvPlot/ext/catch2/inc/catch.hpp:4277–4281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4275
4276 template <typename T>
4277 GeneratorWrapper<std::vector<T>> chunk(size_t size, GeneratorWrapper<T>&& generator) {
4278 return GeneratorWrapper<std::vector<T>>(
4279 pf::make_unique<ChunkGenerator<T>>(size, std::move(generator))
4280 );
4281 }
4282
4283} // namespace Generators
4284} // namespace Catch

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected