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

Method setFlag

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

Source from the content-addressed store, hash-verified

5990 explicit BoundFlagLambda( L const &lambda ) : m_lambda( lambda ) {}
5991
5992 auto setFlag( bool flag ) -> ParserResult override {
5993 return LambdaInvoker<typename UnaryLambdaTraits<L>::ReturnType>::invoke( m_lambda, flag );
5994 }
5995 };
5996
5997 enum class Optionality { Optional, Required };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected