diff options
author | Matt Austern <austern@gmail.com> | 2005-02-19 23:57:23 +0000 |
---|---|---|
committer | Matt Austern <austern@gcc.gnu.org> | 2005-02-19 23:57:23 +0000 |
commit | 6bbd10c78408f9fcb275e0c679b68e3066a53afd (patch) | |
tree | 90f48cdddc22353dd11ce9358af399d723af5643 /libjava/jni/gtk-peer/gthread-jni.c | |
parent | 72aff31a37fc3f58d9c2165bee672083a57cda86 (diff) | |
download | gcc-6bbd10c78408f9fcb275e0c679b68e3066a53afd.zip gcc-6bbd10c78408f9fcb275e0c679b68e3066a53afd.tar.gz gcc-6bbd10c78408f9fcb275e0c679b68e3066a53afd.tar.bz2 |
functional (tr1_hashtable_define_trivial_hash): Make hash<T>::operator() a const member function for T a fundamental type
* include/tr1/functional (tr1_hashtable_define_trivial_hash): Make
hash<T>::operator() a const member function for T a fundamental type
* include/tr1/hashtable (extract1st::operator()): Declare const.
(hash_code_base): Declare all member functions const
(hashtable::find): fix call to this->bucket_count()
(hashtable::count): Likewise.
(hashtable::equal_range): m_incr_bucket applies to iterator, not node.
* testsuite/tr1/6_containers/unordered/find/set1.cc: New test.
* testsuite/tr1/6_containers/unordered/find/map1.cc: New test.
* testsuite/tr1/6_containers/unordered/find/multimap1.cc: New test.
* testsuite/tr1/6_containers/unordered/find/multiset1.cc: New test.
From-SVN: r95293
Diffstat (limited to 'libjava/jni/gtk-peer/gthread-jni.c')
0 files changed, 0 insertions, 0 deletions