2012-04-25 Benjamin Kosnik <bkoz@redhat.com>
+ * include/bits/hashtable.h: Adjust doxygen markup for base classes.
+ * include/bits/hashtable_policy.h: Same.
+
+2012-04-25 Benjamin Kosnik <bkoz@redhat.com>
+
PR libstdc++/52689
* testsuite/17_intro/static.cc: Fix.
* testsuite/lib/dg-options.exp (dg-require-static-libstdcxx): New.
* explicitly passed, template pattern.
*
* Base class templates are:
- * __detail::_Hashtable_base
- * __detail::_Map_base
- * __detail::_Insert
- * __detail::_Rehash_base
- * __detail::_Equality
+ * - __detail::_Hashtable_base
+ * - __detail::_Map_base
+ * - __detail::_Insert
+ * - __detail::_Rehash_base
+ * - __detail::_Equality
*/
template<typename _Key, typename _Value, typename _Alloc,
typename _ExtractKey, typename _Equal,
/**
* struct _Hash_node_base
*
- * Nodes, used to wrap elements stored in the hash table. A policy
- * template parameter of class template _Hashtable controls whether
- * nodes also store a hash code. In some cases (e.g. strings) this
- * may be a performance win.
+ * Nodes, used to wrap elements stored in the hash table. A policy
+ * template parameter of class template _Hashtable controls whether
+ * nodes also store a hash code. In some cases (e.g. strings) this
+ * may be a performance win.
*/
struct _Hash_node_base
{
template<typename _Value, bool _Cache_hash_code>
struct _Hash_node;
- /// Specialization.
+ /**
+ * Specialization for nodes with caches, struct _Hash_node.
+ *
+ * Base class is __detail::_Hash_node_base.
+ */
template<typename _Value>
struct _Hash_node<_Value, true> : _Hash_node_base
{
_M_next() const { return static_cast<_Hash_node*>(_M_nxt); }
};
- /// Specialization.
+ /**
+ * Specialization for nodes without caches, struct _Hash_node.
+ *
+ * Base class is __detail::_Hash_node_base.
+ */
template<typename _Value>
struct _Hash_node<_Value, false> : _Hash_node_base
{
/**
* Primary class template _Hashtable_base.
*
- * Base class for _Hashtable. Helper class adding management of
- * _Equal functor to _Hash_code_base type.
+ * Helper class adding management of _Equal functor to
+ * _Hash_code_base type.
+ *
+ * Base class templates are:
+ * - __detail::_Hash_code_base
+ * - __detail::_Hashtable_ebo_helper
*/
template<typename _Key, typename _Value,
typename _ExtractKey, typename _Equal,