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

Function invokeLambda

extlibs/catch/include/catch/catch.hpp:8868–8874  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8866
8867 template<typename ArgType, typename L>
8868 inline auto invokeLambda( L const &lambda, std::string const &arg ) -> ParserResult {
8869 ArgType temp{};
8870 auto result = convertInto( arg, temp );
8871 return !result
8872 ? result
8873 : LambdaInvoker<typename UnaryLambdaTraits<L>::ReturnType>::invoke( lambda, temp );
8874 }
8875
8876 template<typename L>
8877 struct BoundLambda : BoundValueRefBase {

Callers

nothing calls this directly

Calls 2

convertIntoFunction · 0.85
invokeFunction · 0.85

Tested by

no test coverage detected