MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::InplaceStack< T, N > Class Template Reference

Container class implementing in-place static sized stack. More...

#include <MRInplaceStack.h>

Public Member Functions

const T & top () const
 
T & top ()
 
bool empty () const
 
size_t size () const
 
void push (const T &value)
 
void push (T &&value)
 
void pop ()
 

Detailed Description

template<typename T, size_t N>
class MR::InplaceStack< T, N >

Container class implementing in-place static sized stack.

Member Function Documentation

◆ empty()

template<typename T , size_t N>
bool MR::InplaceStack< T, N >::empty ( ) const
inline

◆ pop()

template<typename T , size_t N>
void MR::InplaceStack< T, N >::pop ( )
inline

◆ push() [1/2]

template<typename T , size_t N>
void MR::InplaceStack< T, N >::push ( const T & value)
inline

◆ push() [2/2]

template<typename T , size_t N>
void MR::InplaceStack< T, N >::push ( T && value)
inline

◆ size()

template<typename T , size_t N>
size_t MR::InplaceStack< T, N >::size ( ) const
inline

◆ top() [1/2]

template<typename T , size_t N>
T & MR::InplaceStack< T, N >::top ( )
inline

◆ top() [2/2]

template<typename T , size_t N>
const T & MR::InplaceStack< T, N >::top ( ) const
inline

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