MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / invokeLambda

Function invokeLambda

Bcore/src/main/cpp/Dobby/tests/catch.hpp:5768–5772  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5766
5767template <typename ArgType, typename L>
5768inline auto invokeLambda(L const &lambda, std::string const &arg) -> ParserResult {
5769 ArgType temp{};
5770 auto result = convertInto(arg, temp);
5771 return !result ? result : LambdaInvoker<typename UnaryLambdaTraits<L>::ReturnType>::invoke(lambda, temp);
5772}
5773
5774template <typename L> struct BoundLambda : BoundValueRefBase {
5775 L m_lambda;

Callers

nothing calls this directly

Calls 1

convertIntoFunction · 0.85

Tested by

no test coverage detected