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

#include <thorin/util/util.h>

Public Types

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

Public Member Functions

bool push (T val)
 
bool empty () const
 
const Ttop ()
 
T pop ()
 
void clear ()
 

Detailed Description

template<class Set>
class thorin::unique_stack< Set >

Definition at line 109 of file util.h.

Member Typedef Documentation

◆ T

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

Definition at line 111 of file util.h.

Member Function Documentation

◆ clear()

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

Definition at line 124 of file util.h.

◆ empty()

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

Definition at line 121 of file util.h.

◆ pop()

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

Definition at line 123 of file util.h.

References thorin::pop().

◆ push()

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

Definition at line 113 of file util.h.

◆ top()

template<class Set >
const T & thorin::unique_stack< Set >::top ( )
inline

Definition at line 122 of file util.h.


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