bux API Reference 1.11.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 size_t | size_type |
Public Member Functions | |
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) |
Protected Member Functions | |
char * | backRaw () const |
char * | frontRaw () const |
void | popRaw () |
char * | pushRaw () |
typedef size_t bux::C_RawQueue< N >::size_type |
|
default |
Referenced by C_RawQueue(), operator=(), splice(), and swap().
|
delete |
References C_RawQueue().
|
inline |
|
inlineprotected |
size_t bux::C_RawQueue< N >::compact | ( | ) |
|
inline |
|
inlineprotected |
|
delete |
References C_RawQueue().
|
protected |
|
protected |
void bux::C_RawQueue< N >::splice | ( | C_RawQueue< N > & | other | ) |
[in,out] | other | The queue the link of which are moves and appended this one. |
Concatenate the internal queue of other after this queue. The other queue become empty.
In most cases the other queue will carry no recycled node, so constant complexity is expected.
Definition at line 168 of file XQue.h.
References C_RawQueue().
void bux::C_RawQueue< N >::swap | ( | C_RawQueue< N > & | other | ) |
other | The other queue to swap with |
Definition at line 220 of file XQue.h.
References C_RawQueue().