jaulib v1.3.0
Jau Support Library (C++, Java, ..)
|
A simple stack of compounds, each consisting of element_size
* T
More...
#include <sstack.hpp>
Public Types | |
typedef Value_type | value_type |
Public Member Functions | |
constexpr_cxx20 | SimpleStack () noexcept |
Start w/ zero size and growSize is 16, half GL-min size (32) More... | |
constexpr_cxx20 | SimpleStack (int initialSize, int growSize_) noexcept |
constexpr_cxx20 size_t | growIfNecessary (int length) noexcept |
constexpr_cxx20 void | pop (value_type *dest) noexcept |
constexpr_cxx20 void | push (const value_type *src) noexcept |
Static Public Attributes | |
static constexpr const size_t | element_size = Element_size |
A simple stack of compounds, each consisting of element_size
* T
T | type of one element used in each compound |
element_size | number of T elements making up one compound |
Definition at line 55 of file sstack.hpp.
typedef Value_type jau::math::util::SimpleStack< Value_type, Element_size, >::value_type |
Definition at line 57 of file sstack.hpp.
|
inlinenoexcept |
Start w/ zero size and growSize is 16, half GL-min size (32)
Definition at line 68 of file sstack.hpp.
|
inlinenoexcept |
initialSize | initial size |
growSize | grow size if position() is reached, maybe 0 |
Definition at line 75 of file sstack.hpp.
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
staticconstexpr |
Definition at line 58 of file sstack.hpp.