[libcxx-commits] [PATCH] D61954: Ensure that hash<basic_string> uses char_traits (41876)

Zoe Carver via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed May 15 10:30:01 PDT 2019


zoecarver created this revision.
zoecarver added reviewers: mclow.lists, ldionne.
Herald added subscribers: libcxx-commits, dexonsmith.

This patch ensures that `std::hash<basic_string>` uses `char_traits<_CharT>` and not a template parameter `_Trait`. Resolves 41876 <https://bugs.llvm.org/show_bug.cgi?id=41876>.


Repository:
  rCXX libc++

https://reviews.llvm.org/D61954

Files:
  include/string
  test/std/strings/basic.string.hash/char_type_hash.fail.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61954.199635.patch
Type: text/x-patch
Size: 5682 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20190515/67a88e34/attachment-0001.bin>


More information about the libcxx-commits mailing list