6 template <
typename T,
int N>
12 [[nodiscard]] constexpr
bool empty ()
const {
return m_size == 0; }
13 [[nodiscard]] constexpr
int size ()
const {
return m_size; }
Definition: AMReX_Amr.cpp:49
Definition: AMReX_Stack.H:8
T m_data[N]
Definition: AMReX_Stack.H:18
constexpr void push(T v)
Definition: AMReX_Stack.H:10
constexpr int size() const
Definition: AMReX_Stack.H:13
constexpr T operator[](int i) const
Definition: AMReX_Stack.H:16
constexpr bool empty() const
Definition: AMReX_Stack.H:12
constexpr void pop()
Definition: AMReX_Stack.H:11
int m_size
Definition: AMReX_Stack.H:19
constexpr T & top()
Definition: AMReX_Stack.H:15
constexpr T const & top() const
Definition: AMReX_Stack.H:14