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.
|
If ctor of type T properly handles ownership transfer, so does C_ResourceStack<T> More...
#include <Xtack.h>
Public Member Functions | |
C_ResourceStack (size_t minAlloc=4) noexcept | |
C_ResourceStack (C_ResourceStack &other) | |
template<class T_Iter > | |
C_ResourceStack (T_Iter beg, T_Iter end) | |
auto & | operator= (C_ResourceStack &other) |
auto & | push () |
template<class T_Elem > | |
auto & | push (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 () |
If ctor of type T properly handles ownership transfer, so does C_ResourceStack<T>
|
inlineexplicitnoexcept |
|
inlineexplicit |
Definition at line 149 of file Xtack.h.
References bux::C_StackBase< T >::begin(), bux::C_StackBase< T >::end(), and bux::C_ResourceStack< T >::push().
|
inline |
Definition at line 152 of file Xtack.h.
References bux::C_StackBase< T >::end(), and bux::C_ResourceStack< T >::push().
|
inline |
Definition at line 157 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 159 of file Xtack.h.
References bux::C_ResourceStack< T >::push().
Referenced by bux::C_ResourceStack< T >::C_ResourceStack(), bux::C_ResourceStack< T >::C_ResourceStack(), bux::operator+=(), bux::operator<<(), bux::operator<<(), and bux::C_ResourceStack< T >::push().
|
inline |
Definition at line 162 of file Xtack.h.
References bux::C_StackBase< T >::pushRaw().
|
inline |
Definition at line 168 of file Xtack.h.
References bux::C_StackBase< T >::end(), and bux::C_StackBase< T >::push().