Refactor templates & submit doc
This commit is contained in:
@@ -28,10 +28,10 @@
|
||||
* @brief A Queue that supports operations that wait for the queue to become non-empty when retrieving an element, and
|
||||
* wait for space to become available in the queue when storing an element.
|
||||
*/
|
||||
template <typename T>
|
||||
template <typename T, template<typename = T, typename...> class Queue_ = std::deque >
|
||||
class PIBlockingDequeue {
|
||||
public:
|
||||
typedef typename std::deque<T> QueueType;
|
||||
typedef Queue_<T> QueueType;
|
||||
|
||||
/**
|
||||
* @brief Constructor
|
||||
|
||||
Reference in New Issue
Block a user