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

Function invokeLambda

tests/catch.hpp:7074–7080  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7072
7073 template<typename ArgType, typename L>
7074 inline auto invokeLambda( L const &lambda, std::string const &arg ) -> ParserResult {
7075 ArgType temp{};
7076 auto result = convertInto( arg, temp );
7077 return !result
7078 ? result
7079 : LambdaInvoker<typename UnaryLambdaTraits<L>::ReturnType>::invoke( lambda, temp );
7080 }
7081
7082 template<typename L>
7083 struct BoundLambda : BoundValueRefBase {

Callers

nothing calls this directly

Calls 1

convertIntoFunction · 0.85

Tested by

no test coverage detected