|
typedef TContainer::size_type | size_type |
|
typedef TContainer | container_type |
|
typedef T | value_type |
| The type stored in the queue.
|
|
typedef etl::vector< T, SIZE > | container_type |
| The container type used for priority queue.
|
|
typedef etl::less< typename TContainer::value_type > | compare_type |
| The comparison type.
|
|
typedef T & | reference |
| A reference to the type used in the queue.
|
|
typedef const T & | const_reference |
| A const reference to the type used in the queue.
|
|
typedef TContainer::size_type | size_type |
| The type used for determining the size of the queue.
|
|
typedef etl::iterator_traits< typenameTContainer::iterator >::difference_type | difference_type |
|
template<typename T, const size_t SIZE, typename TContainer = etl::vector<T, SIZE>, typename TCompare = etl::less<typename TContainer::value_type>>
class etl::priority_queue< T, SIZE, TContainer, TCompare >
A fixed capacity priority queue. This queue does not support concurrent access by different threads.
- Template Parameters
-
T | The type this queue should support. |
SIZE | The maximum capacity of the queue. |
template<typename T , const size_t SIZE, typename TContainer = etl::vector<T, SIZE>, typename TCompare = etl::less<typename TContainer::value_type>>
template<typename TIterator >
etl::priority_queue< T, SIZE, TContainer, TCompare >::priority_queue |
( |
TIterator |
first, |
|
|
TIterator |
last |
|
) |
| |
|
inline |
Constructor, from an iterator range.
- Template Parameters
-
TIterator | The iterator type. |
- Parameters
-
first | The iterator to the first element. |
last | The iterator to the last element + 1. |