DOKK / manpages / debian 12 / libstdc++-11-doc / __gnu_pbds::detail::pairing_heap.3cxx.en
__gnu_pbds::detail::pairing_heap< Value_Type, Cmp_Fn, _Alloc >(3cxx) __gnu_pbds::detail::pairing_heap< Value_Type, Cmp_Fn, _Alloc >(3cxx)

__gnu_pbds::detail::pairing_heap< Value_Type, Cmp_Fn, _Alloc >

#include <pairing_heap_.hpp>

Inherits __gnu_pbds::detail::left_child_next_sibling_heap< Value_Type, Cmp_Fn, null_type, _Alloc >.


typedef _Alloc allocator_type
typedef Cmp_Fn cmp_fn
typedef base_type::const_iterator const_iterator
typedef __rebind_a::const_pointer const_pointer
typedef __rebind_a::const_reference const_reference
typedef _Alloc::difference_type difference_type
typedef base_type::iterator iterator
typedef left_child_next_sibling_heap_node_< Value_Type, null_type, _Alloc > node
typedef base_type::point_const_iterator point_const_iterator
typedef base_type::point_iterator point_iterator
typedef __rebind_a::pointer pointer
typedef __rebind_a::reference reference
typedef _Alloc::size_type size_type
typedef Value_Type value_type


pairing_heap (const Cmp_Fn &)
pairing_heap (const pairing_heap &)
iterator begin ()
const_iterator begin () const
void clear ()
bool empty () const
iterator end ()
const_iterator end () const
void erase (point_iterator)
template<typename Pred > size_type erase_if (Pred)
Cmp_Fn & get_cmp_fn ()
const Cmp_Fn & get_cmp_fn () const
void join (pairing_heap &)
size_type max_size () const
void modify (point_iterator, const_reference)
void pop ()
point_iterator push (const_reference)
size_type size () const
template<typename Pred > void split (Pred, pairing_heap &)
void swap (left_child_next_sibling_heap< Value_Type, Cmp_Fn, null_type, _Alloc > &)
void swap (pairing_heap &)
const_reference top () const


typedef alloc_traits::allocator_type node_allocator
typedef alloc_traits::const_pointer node_const_pointer
typedef null_type node_metadata
typedef std::pair< node_pointer, node_pointer > node_pointer_pair


void actual_erase_node (node_pointer)
void bubble_to_top (node_pointer)
void clear_imp (node_pointer)
template<typename It > void copy_from_range (It, It)
node_pointer get_new_node_for_insert (const_reference)
node_pointer prune (Pred)
void swap_with_parent (node_pointer, node_pointer)
void to_linked_list ()
void value_swap (left_child_next_sibling_heap &)


static void make_child_of (node_pointer, node_pointer)
static node_pointer parent (node_pointer)


node_pointer m_p_root
size_type m_size

class __gnu_pbds::detail::pairing_heap< Value_Type, Cmp_Fn, _Alloc >"Pairing heap.

Definition at line 77 of file pairing_heap_.hpp.

Definition at line 88 of file pairing_heap_.hpp.

Definition at line 87 of file pairing_heap_.hpp.

template<typename Value_Type , typename Cmp_Fn , typename _Alloc > typedef base_type::const_iterator __gnu_pbds::detail::pairing_heap< Value_Type, Cmp_Fn, _Alloc >::const_iterator

Definition at line 99 of file pairing_heap_.hpp.

Definition at line 93 of file pairing_heap_.hpp.

Definition at line 95 of file pairing_heap_.hpp.

Definition at line 90 of file pairing_heap_.hpp.

template<typename Value_Type , typename Cmp_Fn , typename _Alloc > typedef base_type::iterator __gnu_pbds::detail::pairing_heap< Value_Type, Cmp_Fn, _Alloc >::iterator

Definition at line 100 of file pairing_heap_.hpp.

typedef left_child_next_sibling_heap_node_<Value_Type, null_type , _Alloc> __gnu_pbds::detail::left_child_next_sibling_heap< Value_Type, Cmp_Fn, null_type , _Alloc >::node [inherited]

Definition at line 95 of file left_child_next_sibling_heap_.hpp.

Definition at line 101 of file left_child_next_sibling_heap_.hpp.

Definition at line 104 of file left_child_next_sibling_heap_.hpp.

typedef null_type __gnu_pbds::detail::left_child_next_sibling_heap< Value_Type, Cmp_Fn, null_type , _Alloc >::node_metadata [protected], [inherited]

Definition at line 105 of file left_child_next_sibling_heap_.hpp.

typedef std::pair<node_pointer, node_pointer> __gnu_pbds::detail::left_child_next_sibling_heap< Value_Type, Cmp_Fn, null_type , _Alloc >::node_pointer_pair [protected], [inherited]

Definition at line 106 of file left_child_next_sibling_heap_.hpp.

template<typename Value_Type , typename Cmp_Fn , typename _Alloc > typedef base_type::point_const_iterator __gnu_pbds::detail::pairing_heap< Value_Type, Cmp_Fn, _Alloc >::point_const_iterator

Definition at line 97 of file pairing_heap_.hpp.

template<typename Value_Type , typename Cmp_Fn , typename _Alloc > typedef base_type::point_iterator __gnu_pbds::detail::pairing_heap< Value_Type, Cmp_Fn, _Alloc >::point_iterator

Definition at line 98 of file pairing_heap_.hpp.

Definition at line 92 of file pairing_heap_.hpp.

Definition at line 94 of file pairing_heap_.hpp.

Definition at line 89 of file pairing_heap_.hpp.

Definition at line 86 of file pairing_heap_.hpp.

Definition at line 270 of file left_child_next_sibling_heap_.hpp.

Definition at line 271 of file left_child_next_sibling_heap_.hpp.

Generated automatically by Doxygen for libstdc++ from the source code.

Thu Feb 16 2023 libstdc++