HavoqGT
havoqgt::detail::reservable_priority_queue< T, CONT, COMP > Class Template Reference

#include <reservable_priority_queue.hpp>

Inheritance diagram for havoqgt::detail::reservable_priority_queue< T, CONT, COMP >:
Collaboration diagram for havoqgt::detail::reservable_priority_queue< T, CONT, COMP >:

Public Types

typedef std::priority_queue< T >::size_type size_type
 

Public Member Functions

 reservable_priority_queue (size_type capacity=0)
 
void reserve (size_type capacity)
 
size_type capacity () const
 

Detailed Description

template<typename T, typename CONT = std::vector<T>, typename COMP = std::less<T>>
class havoqgt::detail::reservable_priority_queue< T, CONT, COMP >

Definition at line 62 of file reservable_priority_queue.hpp.

Member Typedef Documentation

template<typename T , typename CONT = std::vector<T>, typename COMP = std::less<T>>
typedef std::priority_queue<T>::size_type havoqgt::detail::reservable_priority_queue< T, CONT, COMP >::size_type

Definition at line 65 of file reservable_priority_queue.hpp.

Constructor & Destructor Documentation

template<typename T , typename CONT = std::vector<T>, typename COMP = std::less<T>>
havoqgt::detail::reservable_priority_queue< T, CONT, COMP >::reservable_priority_queue ( size_type  capacity = 0)
inline

Definition at line 66 of file reservable_priority_queue.hpp.

Here is the call graph for this function:

Member Function Documentation

template<typename T , typename CONT = std::vector<T>, typename COMP = std::less<T>>
size_type havoqgt::detail::reservable_priority_queue< T, CONT, COMP >::capacity ( ) const
inline

Definition at line 68 of file reservable_priority_queue.hpp.

68 { return this->c.capacity(); }

Here is the caller graph for this function:

template<typename T , typename CONT = std::vector<T>, typename COMP = std::less<T>>
void havoqgt::detail::reservable_priority_queue< T, CONT, COMP >::reserve ( size_type  capacity)
inline

Definition at line 67 of file reservable_priority_queue.hpp.

67 { this->c.reserve(capacity); }

Here is the caller graph for this function:


The documentation for this class was generated from the following file: