#include <fakeheap.H>
Public Member Functions | |
void | clear () |
bool | empty () const |
void | sort (void) |
void | push (const T &x) |
void | pop (void) |
const T & | top (void) const |
Implementation details are hidden to provide an abstract template class for various fast implementations.
Definition at line 58 of file fakeheap.H.
void FakeHeap< T >::clear | ( | ) | [inline] |
Reimplemented from std::vector< T >.
Definition at line 81 of file fakeheap.H.
References std::vector< _Tp, _Alloc >::clear().
bool FakeHeap< T >::empty | ( | ) | const [inline] |
Reimplemented from std::vector< T >.
Definition at line 85 of file fakeheap.H.
References std::vector< _Tp, _Alloc >::empty().
void FakeHeap< T >::sort | ( | void | ) | [inline] |
Definition at line 87 of file fakeheap.H.
References std::sort(), and sort().
void FakeHeap< T >::push | ( | const T & | x | ) | [inline] |
Definition at line 96 of file fakeheap.H.
References std::cerr, endl(), and sort().
void FakeHeap< T >::pop | ( | void | ) | [inline] |
Definition at line 109 of file fakeheap.H.
References std::cerr, endl(), and std::vector< _Tp, _Alloc >::pop_back().
const T& FakeHeap< T >::top | ( | void | ) | const [inline] |
Definition at line 121 of file fakeheap.H.
References std::vector< _Tp, _Alloc >::back(), std::cerr, and endl().