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.
|
Safe instantiation for types which's destructor does exactly nothing. 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_DtorFreeStack () noexcept | |
~C_DtorFreeStack () noexcept | |
auto & | operator= (const C_DtorFreeStack &other) |
auto & | operator[] (size_type i) |
auto & | operator[] (size_type i) const |
template<class T_Elem > | |
void | assign (const T_Elem *p, size_t n) |
template<class T_Iter > | |
void | assign (T_Iter beg, T_Iter end) |
auto | begin () const noexcept |
auto | begin () noexcept |
void | clear () noexcept |
bool | empty () const noexcept |
auto | end () const noexcept |
auto | end () noexcept |
void | pop (size_t n=1) |
auto & | push () |
template<class T_Elem > | |
auto & | push (const T_Elem &t) |
template<class T_Iter > | |
void | push (T_Iter p, size_t n) |
template<class T_Iter > | |
void | push (T_Iter beg, T_Iter end) |
auto | size () const noexcept |
auto & | top () const noexcept |
auto & | top () noexcept |
Safe instantiation for types which's destructor does exactly nothing.
const T* bux::C_DtorFreeStack< T >::const_iterator |
T* bux::C_DtorFreeStack< T >::iterator |
size_t bux::C_DtorFreeStack< T >::size_type |
T bux::C_DtorFreeStack< T >::value_type |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
Definition at line 201 of file Xtack.h.
References bux::C_DtorFreeStack< T >::clear(), and bux::C_DtorFreeStack< T >::push().
Referenced by bux::C_DtorFreeStack< T >::operator=().
|
inline |
Definition at line 207 of file Xtack.h.
References bux::C_DtorFreeStack< T >::clear(), bux::C_DtorFreeStack< T >::end(), and bux::C_DtorFreeStack< T >::push().
|
inlinenoexcept |
Definition at line 212 of file Xtack.h.
Referenced by bux::C_DtorFreeStack< T >::operator=().
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 216 of file Xtack.h.
Referenced by bux::C_DtorFreeStack< T >::assign(), and bux::C_DtorFreeStack< T >::assign().
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 220 of file Xtack.h.
Referenced by bux::C_DtorFreeStack< T >::assign(), and bux::C_DtorFreeStack< T >::push().
|
inlinenoexcept |
|
inline |
Definition at line 194 of file Xtack.h.
References bux::C_DtorFreeStack< T >::assign(), bux::C_DtorFreeStack< T >::begin(), and bux::C_DtorFreeStack< T >::size().
|
inline |
|
inline |
void bux::C_DtorFreeStack< T >::pop | ( | size_t | n = 1 | ) |
|
inline |
Definition at line 226 of file Xtack.h.
Referenced by bux::C_DtorFreeStack< T >::assign(), and bux::C_DtorFreeStack< T >::assign().
|
inline |
|
inline |
Definition at line 241 of file Xtack.h.
References bux::C_DtorFreeStack< T >::end().
void bux::C_DtorFreeStack< T >::push | ( | T_Iter | p, |
size_t | n ) |
|
inlinenoexcept |
Definition at line 247 of file Xtack.h.
Referenced by bux::C_DtorFreeStack< T >::operator=().
|
inlinenoexcept |
|
inlinenoexcept |