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

Method hash

docopt_private.h:203–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201 }
202
203 virtual size_t hash() const override {
204 size_t seed = typeid(*this).hash_code();
205 hash_combine(seed, fChildren.size());
206 for(auto const& child : fChildren) {
207 hash_combine(seed, child->hash());
208 }
209 return seed;
210 }
211 private:
212 void fix_repeating_arguments();
213

Callers

nothing calls this directly

Calls 2

hash_combineFunction · 0.85
hashMethod · 0.45

Tested by

no test coverage detected