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.
|
A much more succinct substitute of std::stack<std::vector<T> > More...
#include <Xtack.h>
Public Member Functions | |
C_Stack (size_t minAlloc=4) noexcept | |
C_Stack (const C_Stack &other) | |
template<class T_Iter > | |
C_Stack (T_Iter beg, T_Iter end) | |
C_Stack & | operator= (const C_Stack &other) |
auto & | push () |
template<class T_Elem > | |
auto & | push (const T_Elem &t) |
template<class T_Iter > | |
void | push (T_Iter beg, T_Iter end) |
Public Member Functions inherited from bux::C_StackBase< T > | |
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 |
Additional Inherited Members | |
Public Types inherited from bux::C_StackBase< T > | |
typedef size_t | size_type |
typedef T | value_type |
typedef T * | iterator |
typedef const T * | const_iterator |
Protected Member Functions inherited from bux::C_StackBase< T > | |
auto | copyMinAlloc () const noexcept |
T * | pushRaw () |
A much more succinct substitute of std::stack<std::vector<T> >
|
inlineexplicitnoexcept |
|
inline |
Definition at line 104 of file Xtack.h.
References bux::C_StackBase< T >::begin(), bux::C_StackBase< T >::end(), and bux::C_Stack< T >::push().
|
inline |
Definition at line 107 of file Xtack.h.
References bux::C_StackBase< T >::end(), and bux::C_Stack< T >::push().
|
inline |
Definition at line 112 of file Xtack.h.
References bux::C_StackBase< T >::assign(), bux::C_StackBase< T >::begin(), and bux::C_StackBase< T >::end().
|
inline |
Definition at line 114 of file Xtack.h.
References bux::C_StackBase< T >::push().
Referenced by bux::C_Stack< T >::C_Stack(), bux::C_Stack< T >::C_Stack(), bux::operator+=(), bux::operator+=(), bux::operator<<(), bux::operator<<(), and bux::operator<<().
|
inline |
Definition at line 117 of file Xtack.h.
References bux::C_StackBase< T >::pushRaw().
|
inline |
Definition at line 123 of file Xtack.h.
References bux::C_StackBase< T >::end(), and bux::C_StackBase< T >::push().