| 354 | |
| 355 | #if defined ACE_HAS_CPP11 |
| 356 | size_t calculate_hash(const NetworkAddressSet& addrs, size_t start_hash) |
| 357 | { |
| 358 | size_t result = start_hash; |
| 359 | for (NetworkAddressSet::const_iterator it = addrs.begin(), limit = addrs.end(); it != limit; ++it) { |
| 360 | result = it->hash(result); |
| 361 | } |
| 362 | return result; |
| 363 | } |
| 364 | #endif |
| 365 | |
| 366 | const NetworkAddress NetworkAddress::default_IPV4("0.0.0.0:0"); |
no test coverage detected