MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / BoundLambda

Method BoundLambda

unittests/catch.hpp:5976–5976  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5974
5975 static_assert( UnaryLambdaTraits<L>::isValid, "Supplied lambda must take exactly one argument" );
5976 explicit BoundLambda( L const &lambda ) : m_lambda( lambda ) {}
5977
5978 auto setValue( std::string const &arg ) -> ParserResult override {
5979 return invokeLambda<typename UnaryLambdaTraits<L>::ArgType>( m_lambda, arg );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected