Commit af6204cc by Benjamin Kosnik Committed by Benjamin Kosnik

hashtable.h: Adjust doxygen markup for base classes.

2012-04-25  Benjamin Kosnik  <bkoz@redhat.com>

	*  include/bits/hashtable.h: Adjust doxygen markup for base classes.
	*  include/bits/hashtable_policy.h: Same.

From-SVN: r186856
parent 5ddecff9
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.
......
......@@ -157,11 +157,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
* 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,
......
......@@ -121,10 +121,10 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* 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
{
......@@ -141,7 +141,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
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
{
......@@ -156,7 +160,11 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
_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
{
......@@ -1421,8 +1429,12 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
/**
* 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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment