Thorin 1.9.0
The Higher ORder INtermediate representation
Loading...
Searching...
No Matches
thorin::unique_queue< Set > Class Template Reference

#include <thorin/util/util.h>

Public Types

using T = typename std::remove_reference_t< Set >::value_type
 

Public Member Functions

 unique_queue ()=default
 
 unique_queue (Set set)
 
bool push (T val)
 
bool empty () const
 
T pop ()
 
Tfront ()
 
Tback ()
 
void clear ()
 

Detailed Description

template<class Set>
class thorin::unique_queue< Set >

Definition at line 134 of file util.h.

Member Typedef Documentation

◆ T

template<class Set >
using thorin::unique_queue< Set >::T = typename std::remove_reference_t<Set>::value_type

Definition at line 136 of file util.h.

Constructor & Destructor Documentation

◆ unique_queue() [1/2]

template<class Set >
thorin::unique_queue< Set >::unique_queue ( )
default

◆ unique_queue() [2/2]

template<class Set >
thorin::unique_queue< Set >::unique_queue ( Set  set)
inline

Definition at line 139 of file util.h.

Member Function Documentation

◆ back()

template<class Set >
T & thorin::unique_queue< Set >::back ( )
inline

Definition at line 153 of file util.h.

◆ clear()

template<class Set >
void thorin::unique_queue< Set >::clear ( )
inline

Definition at line 154 of file util.h.

◆ empty()

template<class Set >
bool thorin::unique_queue< Set >::empty ( ) const
inline

Definition at line 150 of file util.h.

Referenced by thorin::ScopePhase::start(), and thorin::ClosedMutPhase< M >::start().

◆ front()

template<class Set >
T & thorin::unique_queue< Set >::front ( )
inline

Definition at line 152 of file util.h.

◆ pop()

template<class Set >
T thorin::unique_queue< Set >::pop ( )
inline

Definition at line 151 of file util.h.

References thorin::pop().

Referenced by thorin::ScopePhase::start(), and thorin::ClosedMutPhase< M >::start().

◆ push()

template<class Set >
bool thorin::unique_queue< Set >::push ( T  val)
inline

Definition at line 142 of file util.h.

Referenced by thorin::ScopePhase::start(), and thorin::ClosedMutPhase< M >::start().


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