bux API Reference 1.9.0
Static library of whatever are seen required in general purpose but not directly supported from Modern C++. Or whatever reusable originated from my side projects.
|
Any given type is safely instantiated even though C_DtorFreeStack<T> does better for bytewise types. More...
#include <Xtack.h>
Public Types | |
typedef size_t | size_type |
typedef T | value_type |
typedef T * | iterator |
typedef const T * | const_iterator |
Public Member Functions | |
C_StackBase (size_t minAlloc=4) noexcept | |
~C_StackBase () | |
C_StackBase (const C_StackBase &)=delete | |
auto & | operator[] (size_type i) noexcept |
auto & | operator[] (size_type i) const noexcept |
auto & | operator= (const C_StackBase &other) |
template<class T_Iter > | |
void | assign (T_Iter beg, T_Iter end) |
auto | begin () const noexcept |
auto | begin () noexcept |
auto | capacity () const |
void | clear () |
bool | empty () const noexcept |
auto | end () const noexcept |
auto | end () noexcept |
void | pop (size_t n=1) |
auto & | push () |
template<class T_Iter > | |
void | push (T_Iter beg, T_Iter end) |
auto | size () const noexcept |
auto & | top () |
auto & | top () const |
Protected Member Functions | |
auto | copyMinAlloc () const noexcept |
T * | pushRaw () |
Any given type is safely instantiated even though C_DtorFreeStack<T> does better for bytewise types.
const T* bux::C_StackBase< T >::const_iterator |
T* bux::C_StackBase< T >::iterator |
size_t bux::C_StackBase< T >::size_type |
T bux::C_StackBase< T >::value_type |
|
explicitnoexcept |
bux::C_StackBase< T >::~C_StackBase | ( | ) |
|
delete |
|
inline |
Definition at line 40 of file Xtack.h.
References bux::C_StackBase< T >::clear(), bux::C_StackBase< T >::end(), and bux::C_StackBase< T >::push().
Referenced by bux::C_ResourceStack< T >::operator=(), bux::C_Stack< T >::operator=(), and bux::C_StackBase< T >::operator=().
|
inlinenoexcept |
Definition at line 45 of file Xtack.h.
Referenced by bux::C_ResourceStack< T >::C_ResourceStack(), bux::C_Stack< T >::C_Stack(), bux::operator+=(), bux::operator+=(), bux::operator<<(), bux::operator<<(), bux::operator<<(), bux::C_ResourceStack< T >::operator=(), bux::C_Stack< T >::operator=(), and bux::C_StackBase< T >::operator=().
|
inlinenoexcept |
|
inline |
void bux::C_StackBase< T >::clear | ( | ) |
Definition at line 384 of file Xtack.h.
Referenced by bux::C_StackBase< T >::assign().
|
inlineprotectednoexcept |
|
inlinenoexcept |
Definition at line 53 of file Xtack.h.
Referenced by bux::operator<<().
|
inlinenoexcept |
Definition at line 55 of file Xtack.h.
Referenced by bux::C_StackBase< T >::assign(), bux::C_ResourceStack< T >::C_ResourceStack(), bux::C_ResourceStack< T >::C_ResourceStack(), bux::C_Stack< T >::C_Stack(), bux::C_Stack< T >::C_Stack(), bux::operator+=(), bux::operator+=(), bux::operator<<(), bux::C_ResourceStack< T >::operator=(), bux::C_Stack< T >::operator=(), bux::C_StackBase< T >::operator=(), bux::C_ResourceStack< T >::push(), and bux::C_Stack< T >::push().
|
inlinenoexcept |
|
inline |
Definition at line 37 of file Xtack.h.
References bux::C_StackBase< T >::assign(), bux::C_StackBase< T >::begin(), and bux::C_StackBase< T >::end().
|
inlinenoexcept |
|
inlinenoexcept |
void bux::C_StackBase< T >::pop | ( | size_t | n = 1 | ) |
|
inline |
Definition at line 61 of file Xtack.h.
References bux::C_StackBase< T >::pushRaw().
Referenced by bux::C_StackBase< T >::assign(), bux::C_ResourceStack< T >::push(), bux::C_Stack< T >::push(), and bux::C_Stack< T >::push().
void bux::C_StackBase< T >::push | ( | T_Iter | beg, |
T_Iter | end ) |
|
protected |
Definition at line 416 of file Xtack.h.
Referenced by bux::C_ResourceStack< T >::push(), bux::C_Stack< T >::push(), and bux::C_StackBase< T >::push().
|
inlinenoexcept |
Definition at line 68 of file Xtack.h.
Referenced by bux::operator<<(), and bux::operator<<().
|
inline |
Definition at line 70 of file Xtack.h.
Referenced by bux::LR1::C_Parser::getFinalLex().
|
inline |