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

Method BoundLambda

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

Source from the content-addressed store, hash-verified

5776
5777 static_assert(UnaryLambdaTraits<L>::isValid, "Supplied lambda must take exactly one argument");
5778 explicit BoundLambda(L const &lambda) : m_lambda(lambda) {
5779 }
5780
5781 auto setValue(std::string const &arg) -> ParserResult override {
5782 return invokeLambda<typename UnaryLambdaTraits<L>::ArgType>(m_lambda, arg);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected