MimIR 0.1
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
mim::unique_queue< Set > Class Template Reference

#include <mim/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 mim::unique_queue< Set >

Definition at line 134 of file util.h.

Member Typedef Documentation

◆ T

template<class Set >
using mim::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 >
mim::unique_queue< Set >::unique_queue ( )
default

◆ unique_queue() [2/2]

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

Definition at line 139 of file util.h.

Member Function Documentation

◆ back()

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

Definition at line 153 of file util.h.

◆ clear()

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

Definition at line 154 of file util.h.

◆ empty()

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

Definition at line 150 of file util.h.

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

◆ front()

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

Definition at line 152 of file util.h.

◆ pop()

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

Definition at line 151 of file util.h.

References mim::pop().

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

◆ push()

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

Definition at line 142 of file util.h.

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


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