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

Method Opt

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

Source from the content-addressed store, hash-verified

6156 public:
6157 template<typename LambdaT>
6158 explicit Opt( LambdaT const &ref ) : ParserRefImpl( std::make_shared<BoundFlagLambda<LambdaT>>( ref ) ) {}
6159
6160 explicit Opt( bool &ref ) : ParserRefImpl( std::make_shared<BoundFlagRef>( ref ) ) {}
6161

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected