MCPcopy Create free account
hub / github.com/docopt/docopt.cpp / operator()

Method operator()

docopt_private.h:45–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43 struct PatternHasher {
44 template <typename P>
45 size_t operator()(std::shared_ptr<P> const& pattern) const {
46 return pattern->hash();
47 }
48 template <typename P>
49 size_t operator()(P const* pattern) const {
50 return pattern->hash();

Callers

nothing calls this directly

Calls 1

hashMethod · 0.45

Tested by

no test coverage detected