Beispiel #1
0
 value_type operator()(argument_type const& value) const {
     value_type const h1(std::hash<std::string>()(value.address().to_string()));
     value_type const h2(std::hash<std::uint16_t>()(value.port()));
     return h1 ^ (h2 << 1);
 }