MCPcopy Create free account
hub / github.com/Profactor/cv-plot / invokeLambda

Function invokeLambda

CvPlot/ext/catch2/inc/catch.hpp:9101–9107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9099
9100 template<typename ArgType, typename L>
9101 inline auto invokeLambda( L const &lambda, std::string const &arg ) -> ParserResult {
9102 ArgType temp{};
9103 auto result = convertInto( arg, temp );
9104 return !result
9105 ? result
9106 : LambdaInvoker<typename UnaryLambdaTraits<L>::ReturnType>::invoke( lambda, temp );
9107 }
9108
9109 template<typename L>
9110 struct BoundLambda : BoundValueRefBase {

Callers

nothing calls this directly

Calls 1

convertIntoFunction · 0.85

Tested by

no test coverage detected