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

Function map

extlibs/catch/include/catch/catch.hpp:4186–4190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4184
4185 template <typename Func, typename U, typename T = MapFunctionReturnType<Func, U>>
4186 GeneratorWrapper<T> map(Func&& function, GeneratorWrapper<U>&& generator) {
4187 return GeneratorWrapper<T>(
4188 pf::make_unique<MapGenerator<T, U, Func>>(std::forward<Func>(function), std::move(generator))
4189 );
4190 }
4191
4192 template <typename T, typename U, typename Func>
4193 GeneratorWrapper<T> map(Func&& function, GeneratorWrapper<U>&& generator) {

Callers 1

mapMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected