This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: New hashtable power 2 rehash policy
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: François Dumont <frs dot dumont at gmail dot com>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 28 Apr 2016 13:30:43 +0100
- Subject: Re: New hashtable power 2 rehash policy
- Authentication-results: sourceware.org; auth=none
- References: <571B31E1 dot 6000101 at gmail dot com> <20160428102218 dot GI4241 at redhat dot com>
I'm making this small change to some comments in hashtable_policy.h
Tested x86_64-linux, committing to trunk.
commit c387345f7c68df8812c7909f9187445a79bd5dcb
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Thu Apr 28 11:25:29 2016 +0100
* include/bits/hashtable_policy.h (__detail::_Insert_base,
__detail::_Insert): Improve comments.
diff --git a/libstdc++-v3/include/bits/hashtable_policy.h b/libstdc++-v3/include/bits/hashtable_policy.h
index 7a2ac92..2c24c19 100644
--- a/libstdc++-v3/include/bits/hashtable_policy.h
+++ b/libstdc++-v3/include/bits/hashtable_policy.h
@@ -667,7 +667,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* Primary class template _Insert_base.
*
- * insert member functions appropriate to all _Hashtables.
+ * Defines @c insert member functions appropriate to all _Hashtables.
*/
template<typename _Key, typename _Value, typename _Alloc,
typename _ExtractKey, typename _Equal,
@@ -769,7 +769,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* Primary class template _Insert.
*
- * Select insert member functions appropriate to _Hashtable policy choices.
+ * Defines @c insert member functions that depend on _Hashtable policies,
+ * via partial specializations.
*/
template<typename _Key, typename _Value, typename _Alloc,
typename _ExtractKey, typename _Equal,