MCPcopy Create free account
hub / github.com/Tessil/ordered-map / operator()

Method operator()

tests/ordered_map_tests.cpp:1408–1410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1406 // different hash; check equal
1407 struct hash_str_diff {
1408 std::size_t operator()(const std::string& str) const {
1409 return std::hash<std::string>()(str) + 123;
1410 }
1411 };
1412
1413 const std::size_t nb_values = 1000;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected