MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / MapGenerator

Method MapGenerator

extlibs/catch/include/catch/catch.hpp:4156–4160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4154 public:
4155 template <typename F2 = Func>
4156 MapGenerator(F2&& function, GeneratorWrapper<U>&& generator) :
4157 m_generator(std::move(generator)),
4158 m_function(std::forward<F2>(function)),
4159 m_cache(m_function(m_generator.get()))
4160 {}
4161
4162 T const& get() const override {
4163 return m_cache;

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected