MCPcopy Create free account
hub / github.com/RenderKit/embree / invokeLambda

Function invokeLambda

tutorials/external/catch.hpp:7293–7299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7291
7292 template<typename ArgType, typename L>
7293 inline auto invokeLambda( L const &lambda, std::string const &arg ) -> ParserResult {
7294 ArgType temp{};
7295 auto result = convertInto( arg, temp );
7296 return !result
7297 ? result
7298 : LambdaInvoker<typename UnaryLambdaTraits<L>::ReturnType>::invoke( lambda, temp );
7299 }
7300
7301 template<typename L>
7302 struct BoundLambda : BoundValueRefBase {

Callers

nothing calls this directly

Calls 1

convertIntoFunction · 0.85

Tested by

no test coverage detected