| 463 | |
| 464 | template<class _Ptr> |
| 465 | inline _LIBCPP_INLINE_VISIBILITY |
| 466 | size_t v2_do_string_hash(_Ptr __p, _Ptr __e) |
| 467 | { |
| 468 | typedef typename iterator_traits<_Ptr>::value_type value_type; |
| 469 | return v2_murmur2_or_cityhash<size_t>()(__p, (__e-__p)*sizeof(value_type)); |
| 470 | } |
| 471 | |
| 472 | size_t hash(const std::string &s) |
| 473 | { |