Wire Sysio Wire Sysion 1.0.0
|
#include <wasm_stack.hpp>
Public Member Functions | |
template<typename Alloc = Allocator, typename = std::enable_if_t<std::is_same_v<Alloc, std::nullptr_t>, int>> | |
stack () | |
template<typename Alloc = Allocator, typename = std::enable_if_t<!std::is_same_v<Alloc, nullptr_t>, int>> | |
stack (Alloc &&alloc) | |
template<typename Alloc = Allocator, typename = std::enable_if_t<!std::is_same_v<Alloc, nullptr_t>, int>> | |
stack (uint32_t n, Alloc &&alloc) | |
void | push (ElemT &&e) |
ElemT | pop () |
ElemT & | get (uint32_t index) const |
void | set (uint32_t index, const ElemT &el) |
void | eat (uint32_t index) |
void | compact (uint32_t index) |
size_t | current_index () const |
ElemT & | peek () |
const ElemT & | peek () const |
ElemT & | peek (size_t i) |
ElemT & | get_back (size_t i) |
const ElemT & | get_back (size_t i) const |
void | trim (size_t amt) |
size_t | size () const |
size_t | capacity () const |
template<typename Alloc = Allocator, typename = std::enable_if_t<std::is_same_v<Alloc, std::nullptr_t>, int>> | |
stack () | |
template<typename Alloc = Allocator, typename = std::enable_if_t<!std::is_same_v<Alloc, nullptr_t>, int>> | |
stack (Alloc &&alloc) | |
template<typename Alloc = Allocator, typename = std::enable_if_t<!std::is_same_v<Alloc, nullptr_t>, int>> | |
stack (uint32_t n, Alloc &&alloc) | |
void | push (ElemT &&e) |
ElemT | pop () |
ElemT & | get (uint32_t index) const |
void | set (uint32_t index, const ElemT &el) |
void | eat (uint32_t index) |
void | compact (uint32_t index) |
size_t | current_index () const |
ElemT & | peek () |
const ElemT & | peek () const |
ElemT & | peek (size_t i) |
ElemT & | get_back (size_t i) |
const ElemT & | get_back (size_t i) const |
void | trim (size_t amt) |
size_t | size () const |
size_t | capacity () const |
Definition at line 18 of file wasm_stack.hpp.
|
inline |
Definition at line 21 of file wasm_stack.hpp.
|
inline |
Definition at line 25 of file wasm_stack.hpp.
|
inline |
Definition at line 29 of file wasm_stack.hpp.
|
inline |
Definition at line 21 of file wasm_stack.hpp.
|
inline |
Definition at line 25 of file wasm_stack.hpp.
|
inline |
Definition at line 29 of file wasm_stack.hpp.
|
inline |
Definition at line 64 of file wasm_stack.hpp.
|
inline |
Definition at line 64 of file wasm_stack.hpp.
|
inline |
Definition at line 52 of file wasm_stack.hpp.
|
inline |
Definition at line 52 of file wasm_stack.hpp.
|
inline |
Definition at line 56 of file wasm_stack.hpp.
|
inline |
Definition at line 56 of file wasm_stack.hpp.
|
inline |
Definition at line 50 of file wasm_stack.hpp.
|
inline |
Definition at line 50 of file wasm_stack.hpp.
|
inline |
Definition at line 42 of file wasm_stack.hpp.
|
inline |
Definition at line 42 of file wasm_stack.hpp.
|
inline |
Definition at line 60 of file wasm_stack.hpp.
|
inline |
Definition at line 60 of file wasm_stack.hpp.
|
inline |
Definition at line 61 of file wasm_stack.hpp.
|
inline |
Definition at line 61 of file wasm_stack.hpp.
|
inline |
Definition at line 57 of file wasm_stack.hpp.
|
inline |
Definition at line 57 of file wasm_stack.hpp.
|
inline |
Definition at line 58 of file wasm_stack.hpp.
|
inline |
Definition at line 58 of file wasm_stack.hpp.
|
inline |
Definition at line 59 of file wasm_stack.hpp.
|
inline |
Definition at line 59 of file wasm_stack.hpp.
|
inline |
Definition at line 40 of file wasm_stack.hpp.
|
inline |
Definition at line 40 of file wasm_stack.hpp.
|
inline |
Definition at line 32 of file wasm_stack.hpp.
|
inline |
Definition at line 32 of file wasm_stack.hpp.
|
inline |
Definition at line 46 of file wasm_stack.hpp.
|
inline |
Definition at line 46 of file wasm_stack.hpp.
|
inline |
Definition at line 63 of file wasm_stack.hpp.
|
inline |
Definition at line 63 of file wasm_stack.hpp.
|
inline |
Definition at line 62 of file wasm_stack.hpp.
|
inline |
Definition at line 62 of file wasm_stack.hpp.