MCPcopy Create free account
hub / github.com/docopt/docopt.cpp / Tokens

Method Tokens

docopt.cpp:64–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62class Tokens {
63public:
64 Tokens(std::vector<std::string> tokens, bool isParsingArgv = true)
65 : fTokens(std::move(tokens)),
66 fIsParsingArgv(isParsingArgv)
67 {}
68
69 explicit operator bool() const {
70 return fIndex < fTokens.size();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected