STLdoc
STLdocumentation
|
Redundant binary counter. More...
#include <ext/pb_ds/detail/rc_binomial_heap_/rc.hpp>
Public Types | |
typedef node_pointer | entry |
typedef entry_const_pointer | const_iterator |
Public Member Functions | |
rc () | |
rc (const rc &) | |
void | swap (rc &) |
void | push (entry) |
node_pointer | top () const |
void | pop () |
bool | empty () const |
size_type | size () const |
void | clear () |
const const_iterator | begin () const |
const const_iterator | end () const |
Private Types | |
enum | { max_entries = sizeof(size_type) << 3 } |
typedef _Alloc | allocator_type |
typedef allocator_type::size_type | size_type |
typedef _Node | node |
typedef _Alloc::template rebind< node > | __rebind_n |
typedef __rebind_n::other::pointer | node_pointer |
typedef _Alloc::template rebind< node_pointer > | __rebind_np |
typedef __rebind_np::other::pointer | entry_pointer |
typedef __rebind_np::other::const_pointer | entry_const_pointer |
Private Attributes | |
node_pointer | m_a_entries [max_entries] |
size_type | m_over_top |
Redundant binary counter.
|
private |
|
private |
|
private |
typedef entry_const_pointer __gnu_pbds::detail::rc< _Node, _Alloc >::const_iterator |
typedef node_pointer __gnu_pbds::detail::rc< _Node, _Alloc >::entry |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
__gnu_pbds::detail::rc< _Node, _Alloc >::rc | ( | ) |
__gnu_pbds::detail::rc< _Node, _Alloc >::rc | ( | const rc< _Node, _Alloc > & | other | ) |
const rc< _Node, _Alloc >::const_iterator __gnu_pbds::detail::rc< _Node, _Alloc >::begin | ( | ) | const |
void __gnu_pbds::detail::rc< _Node, _Alloc >::clear | ( | ) |
|
inline |
const rc< _Node, _Alloc >::const_iterator __gnu_pbds::detail::rc< _Node, _Alloc >::end | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |