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

Method the_rest

docopt.cpp:128–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126 }
127
128 std::string the_rest() const {
129 if (!*this)
130 return {};
131 return join(fTokens.begin()+static_cast<std::ptrdiff_t>(fIndex),
132 fTokens.end(),
133 " ");
134 }
135
136 std::string pop() {
137 return std::move(fTokens.at(fIndex++));

Callers 1

parse_patternFunction · 0.80

Calls 1

joinFunction · 0.85

Tested by

no test coverage detected