57 #define PB_DS_CLASS_T_DEC \
58 template<typename Value_Type, typename Cmp_Fn, typename _Alloc>
60 #define PB_DS_CLASS_C_DEC \
61 pairing_heap<Value_Type, Cmp_Fn, _Alloc>
64 #define PB_DS_P_HEAP_BASE \
65 left_child_next_sibling_heap<Value_Type, Cmp_Fn, null_type, _Alloc, false>
67 #define PB_DS_P_HEAP_BASE \
68 left_child_next_sibling_heap<Value_Type, Cmp_Fn, null_type, _Alloc>
76 template<
typename Value_Type,
typename Cmp_Fn,
typename _Alloc>
83 typedef typename _Alloc::template rebind<Value_Type>::other
__rebind_a;
92 typedef typename __rebind_a::pointer
pointer;
128 template<
typename Pred>
132 template<
typename Pred>
141 template<
typename It>
145 #ifdef _GLIBCXX_DEBUG
147 assert_valid(
const char*,
int)
const;
168 #define PB_DS_ASSERT_NODE_CONSISTENT(_Node, _Bool) \
169 _GLIBCXX_DEBUG_ONLY(base_type::assert_node_consistent(_Node, _Bool, \
170 __FILE__, __LINE__);)
179 #undef PB_DS_ASSERT_NODE_CONSISTENT
180 #undef PB_DS_CLASS_C_DEC
181 #undef PB_DS_CLASS_T_DEC
182 #undef PB_DS_P_HEAP_BASE
_Alloc allocator_type
Definition: pairing_heap_.hpp:88
_Alloc::difference_type difference_type
Definition: pairing_heap_.hpp:90
void join(pairing_heap &)
base_type::iterator iterator
Definition: pairing_heap_.hpp:100
void modify(point_iterator, const_reference)
PB_DS_P_HEAP_BASE base_type
Definition: pairing_heap_.hpp:80
Definition: pairing_heap_.hpp:77
void copy_from_range(It, It)
base_type::point_iterator point_iterator
Definition: pairing_heap_.hpp:98
node_pointer join_node_children(node_pointer)
void remove_node(node_pointer)
_Alloc::size_type size_type
Definition: pairing_heap_.hpp:89
__rebind_a::pointer pointer
Definition: pairing_heap_.hpp:92
void split(Pred, pairing_heap &)
_Alloc::template rebind< Value_Type >::other __rebind_a
Definition: pairing_heap_.hpp:83
node_pointer back_join(node_pointer, node_pointer)
__rebind_a::const_reference const_reference
Definition: pairing_heap_.hpp:95
base_type::node_pointer node_pointer
Definition: pairing_heap_.hpp:81
point_iterator push(const_reference)
base_type::const_iterator const_iterator
Definition: pairing_heap_.hpp:99
void push_imp(node_pointer)
void erase(point_iterator)
Cmp_Fn cmp_fn
Definition: pairing_heap_.hpp:87
__rebind_a::const_pointer const_pointer
Definition: pairing_heap_.hpp:93
node_pointer forward_join(node_pointer, node_pointer)
base_type::point_const_iterator point_const_iterator
Definition: pairing_heap_.hpp:97
const_reference top() const
__rebind_a::reference reference
Definition: pairing_heap_.hpp:94
void swap(pairing_heap &)
Value_Type value_type
Definition: pairing_heap_.hpp:86
#define PB_DS_P_HEAP_BASE
Definition: pairing_heap_.hpp:67