MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / filter

Function filter

tests/catch.hpp:3716–3718  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3714
3715 template <typename T, typename Predicate>
3716 GeneratorWrapper<T> filter(Predicate&& pred, GeneratorWrapper<T>&& generator) {
3717 return GeneratorWrapper<T>(std::unique_ptr<IGenerator<T>>(pf::make_unique<FilterGenerator<T, Predicate>>(std::forward<Predicate>(pred), std::move(generator))));
3718 }
3719
3720 template <typename T>
3721 class RepeatGenerator : public IGenerator<T> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected