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

Function longOptions

docopt.cpp:204–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202
203template <typename I>
204std::vector<std::string> longOptions(I iter, I end) {
205 std::vector<std::string> ret;
206 std::transform(iter, end,
207 std::back_inserter(ret),
208 [](typename I::reference opt) { return opt->longOption(); });
209 return ret;
210}
211
212static PatternList parse_long(Tokens& tokens, std::vector<Option>& options)
213{

Callers 1

parse_longFunction · 0.85

Calls 1

transformFunction · 0.85

Tested by

no test coverage detected