MCPcopy Create free account
hub / github.com/apache/trafficserver / invokeLambda

Function invokeLambda

lib/catch2/catch.hpp:9187–9193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

convertIntoFunction · 0.85

Tested by

no test coverage detected