Sequoia
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
sequoia::data_structures::static_stack< T, MaxDepth > Class Template Reference

A stack suitable for constexpr contexts. More...

#include <StaticStack.hpp>

Public Member Functions

constexpr static_stack (std::initializer_list< T > l)
 
constexpr static_stack (const static_stack &)=default
 
constexpr static_stack (static_stack &) noexcept=default
 
constexpr static_stackoperator= (const static_stack &)=default
 
constexpr static_stackoperator= (static_stack &) noexcept=default
 
constexpr void push (const T &val)
 
constexpr const T & top () const noexcept
 
constexpr void pop () noexcept
 
constexpr bool empty () const noexcept
 
constexpr std::size_t size () const noexcept
 

Friends

constexpr bool operator== (const static_stack &lhs, const static_stack &rhs) noexcept
 

Detailed Description

template<class T, std::size_t MaxDepth>
class sequoia::data_structures::static_stack< T, MaxDepth >

A stack suitable for constexpr contexts.


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