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

Method hasValue

docopt_private.h:118–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 virtual bool match(PatternList& left, std::vector<std::shared_ptr<LeafPattern>>& collected) const override;
117
118 virtual bool hasValue() const override { return static_cast<bool>(fValue); }
119
120 value const& getValue() const { return fValue; }
121 void setValue(value&& v) { fValue = std::move(v); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected