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.
|
#include <XQue.h>
Public Types | |
typedef T | value_type |
Public Types inherited from bux::C_RawQueue< sizeof(T)> | |
typedef size_t | size_type |
Public Member Functions | |
C_Queue ()=default | |
~C_Queue () | |
T & | back () const |
void | clear () |
T & | front () const |
void | pop () |
T & | push () |
template<class... T_Args> | |
T & | push (T_Args &&...args) |
Public Member Functions inherited from bux::C_RawQueue< sizeof(T)> | |
C_RawQueue ()=default | |
C_RawQueue (const C_RawQueue &another)=delete | |
C_RawQueue & | operator= (const C_RawQueue &another)=delete |
~C_RawQueue () | |
size_t | compact () |
bool | empty () const |
void | splice (C_RawQueue &other) |
void | swap (C_RawQueue &other) |
Additional Inherited Members | |
Protected Member Functions inherited from bux::C_RawQueue< sizeof(T)> | |
char * | backRaw () const |
char * | frontRaw () const |
void | popRaw () |
char * | pushRaw () |
A much more succinct substitute for std::queue<std::deque<T> > or std::queue<std::list<T> >
Types and methods exposed as public members are compilant to container requirements as much as possible although a queue in the standard C++ way is merely a container adaptor.
This class is not thread-safe.
T bux::C_Queue< T >::value_type |
|
default |
|
inline |
Definition at line 76 of file XQue.h.
References bux::C_Queue< T >::clear().
|
inline |
Definition at line 77 of file XQue.h.
References bux::C_RawQueue< sizeof(T)>::backRaw().
void bux::C_Queue< T >::clear | ( | ) |
Erase all elements
Definition at line 229 of file XQue.h.
Referenced by bux::C_Queue< T >::~C_Queue().
|
inline |
Definition at line 79 of file XQue.h.
References bux::C_RawQueue< sizeof(T)>::frontRaw().
Referenced by bux::C_UnicodeIn::get().
void bux::C_Queue< T >::pop | ( | ) |
Erase one element from the front end
Definition at line 238 of file XQue.h.
Referenced by bux::C_UnicodeIn::get().
|
inline |
Definition at line 81 of file XQue.h.
References bux::C_RawQueue< sizeof(T)>::pushRaw().
|
inline |
Definition at line 83 of file XQue.h.
References bux::C_RawQueue< sizeof(T)>::pushRaw().