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

Method Command

docopt_private.h:229–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227 class Command : public Argument {
228 public:
229 Command(std::string name, value v = value{false})
230 : Argument(std::move(name), std::move(v))
231 {}
232
233 protected:
234 virtual std::pair<size_t, std::shared_ptr<LeafPattern>> single_match(PatternList const& left) const override;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected