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 /libstdc++-v3/ChangeLog | |
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 'libstdc++-v3/ChangeLog')
-rw-r--r-- | libstdc++-v3/ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 84299a1..6625f29 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,17 @@ +2005-02-19 Matt Austern <austern@gmail.com> + + * 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. + 2005-02-19 Hans-Peter Nilsson <hp@axis.com> PR libstdc++/20071 |