re PR libstdc++/47773 (Versatile string lacks a default hash function)
authorPaolo Carlini <paolo.carlini@oracle.com>
Thu, 17 Feb 2011 01:24:37 +0000 (01:24 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Thu, 17 Feb 2011 01:24:37 +0000 (01:24 +0000)
commitbde8d7f701ed6123f5cb0183a414148f50bd61f7
tree6de2ec713ac4218c2b5da837f86a5c1ff8bae243
parenta3daf81795ff37e2f8882e9cae302710ddbb3ad1
re PR libstdc++/47773 (Versatile string lacks a default hash function)

2011-02-16  Paolo Carlini  <paolo.carlini@oracle.com>

PR libstdc++/47773
* include/ext/vstring.h (hash<__gnu_cxx::__vstring>,
hash<__gnu_cxx::__wvstring>, hash<__gnu_cxx::__u16vstring>,
hash<__gnu_cxx::__u32vstring>): Add.
* testsuite/ext/vstring/hash/char/1.cc: New.
* testsuite/ext/vstring/hash/wchar_t/1.cc: Likewise.

From-SVN: r170235
libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/vstring.h
libstdc++-v3/testsuite/ext/vstring/hash/char/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/ext/vstring/hash/wchar_t/1.cc [new file with mode: 0644]