Combine hash_structure and hash_table_manager.

[SVN r55990]
This commit is contained in:
Daniel James
2009-09-03 07:36:21 +00:00
parent 1743ed118d
commit 7fe53ef5a3
6 changed files with 241 additions and 331 deletions

View File

@@ -79,13 +79,13 @@ namespace boost { namespace unordered_detail {
}
template <class A>
void ungrouped_node_base<A>::unlink_node(bucket& b, node_ptr node)
inline void ungrouped_node_base<A>::unlink_node(bucket& b, node_ptr node)
{
unlink_nodes(b, node, next_node(node));
}
template <class A>
void ungrouped_node_base<A>::unlink_nodes(bucket& b, node_ptr begin, node_ptr end)
inline void ungrouped_node_base<A>::unlink_nodes(bucket& b, node_ptr begin, node_ptr end)
{
node_ptr* pos = &b.next_;
while(*pos != begin) pos = &next_node(*pos);
@@ -93,7 +93,7 @@ namespace boost { namespace unordered_detail {
}
template <class A>
void ungrouped_node_base<A>::unlink_nodes(bucket& b, node_ptr end)
inline void ungrouped_node_base<A>::unlink_nodes(bucket& b, node_ptr end)
{
b.next_ = end;
}