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

Method MapGenerator

tests/catch.hpp:3782–3786  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3780 public:
3781 template <typename F2 = Func>
3782 MapGenerator(F2&& function, GeneratorWrapper<U>&& generator) :
3783 m_generator(std::move(generator)),
3784 m_function(std::forward<F2>(function)),
3785 m_cache(m_function(m_generator.get()))
3786 {}
3787
3788 T const& get() const override {
3789 return m_cache;

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected