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

Method MapGenerator

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

Source from the content-addressed store, hash-verified

4206 public:
4207 template <typename F2 = Func>
4208 MapGenerator(F2&& function, GeneratorWrapper<U>&& generator) :
4209 m_generator(std::move(generator)),
4210 m_function(std::forward<F2>(function)),
4211 m_cache(m_function(m_generator.get()))
4212 {}
4213
4214 T const& get() const override {
4215 return m_cache;

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected