MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / operator[]

Method operator[]

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

Source from the content-addressed store, hash-verified

6166 Opt( T &ref, std::string const &hint ) : ParserRefImpl( ref, hint ) {}
6167
6168 auto operator[]( std::string const &optName ) -> Opt & {
6169 m_optNames.push_back( optName );
6170 return *this;
6171 }
6172
6173 auto getHelpColumns() const -> std::vector<HelpColumns> {
6174 std::ostringstream oss;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected