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

Function take

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

Source from the content-addressed store, hash-verified

4098
4099 template <typename T>
4100 GeneratorWrapper<T> take(size_t target, GeneratorWrapper<T>&& generator) {
4101 return GeneratorWrapper<T>(pf::make_unique<TakeGenerator<T>>(target, std::move(generator)));
4102 }
4103
4104 template <typename T, typename Predicate>
4105 class FilterGenerator : public IGenerator<T> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected