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

Function invokeLambda

extern/Catch2/catch.hpp:9185–9191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9183
9184 template<typename ArgType, typename L>
9185 inline auto invokeLambda( L const &lambda, std::string const &arg ) -> ParserResult {
9186 ArgType temp{};
9187 auto result = convertInto( arg, temp );
9188 return !result
9189 ? result
9190 : LambdaInvoker<typename UnaryLambdaTraits<L>::ReturnType>::invoke( lambda, temp );
9191 }
9192
9193 template<typename L>
9194 struct BoundLambda : BoundValueRefBase {

Callers

nothing calls this directly

Calls 1

convertIntoFunction · 0.85

Tested by

no test coverage detected