WPILibC++ 2024.3.2
|
This class is the same as std::priority_queue with two changes: More...
#include <wpi/priority_queue.h>
Public Types | |
using | value_type = typename Sequence::value_type |
using | reference = typename Sequence::reference |
using | const_reference = typename Sequence::const_reference |
using | size_type = typename Sequence::size_type |
using | container_type = Sequence |
using | value_compare = Compare |
Public Member Functions | |
template<typename Seq = Sequence> requires std::default_initializable<Compare> && std::default_initializable<Seq> | |
priority_queue () | |
priority_queue (const Compare &comp, const Sequence &c) | |
priority_queue (const Compare &comp, Sequence &&c=Sequence{}) | |
template<typename InputIterator > | |
priority_queue (InputIterator first, InputIterator last, const Compare &comp, const Sequence &c) | |
template<typename InputIterator > | |
priority_queue (InputIterator first, InputIterator last, const Compare &comp=Compare{}, Sequence &&c=Sequence{}) | |
bool | empty () const |
size_type | size () const |
const_reference | top () const |
void | push (const value_type &value) |
void | push (value_type &&value) |
template<typename... Args> | |
void | emplace (Args &&... args) |
T | pop () |
bool | remove (const T &value) |
Protected Attributes | |
Sequence | c |
Compare | comp |
This class is the same as std::priority_queue with two changes:
using wpi::priority_queue< T, Sequence, Compare >::const_reference = typename Sequence::const_reference |
using wpi::priority_queue< T, Sequence, Compare >::container_type = Sequence |
using wpi::priority_queue< T, Sequence, Compare >::reference = typename Sequence::reference |
using wpi::priority_queue< T, Sequence, Compare >::size_type = typename Sequence::size_type |
using wpi::priority_queue< T, Sequence, Compare >::value_compare = Compare |
using wpi::priority_queue< T, Sequence, Compare >::value_type = typename Sequence::value_type |
|
inline |
|
inline |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |