MySQL 8.0.40
Source Code Documentation
|
#include <sql_list.h>
Public Member Functions | |
void | clear () SUPPRESS_UBSAN |
base_ilist () | |
bool | is_empty () const SUPPRESS_UBSAN |
void | push_front (T *a) |
Pushes new element in front of list. More... | |
void | push_back (T *a) |
Pushes new element to the end of the list, i.e. in front of the sentinel. More... | |
T * | get () |
T * | head () |
void | move_elements_to (base_ilist *new_owner) |
Moves list elements to new owner, and empties current owner (i.e. More... | |
Private Member Functions | |
base_ilist (const base_ilist &) | |
void | operator= (const base_ilist &) |
Private Attributes | |
T * | first |
ilink< T > | sentinel |
Friends | |
class | base_ilist_iterator< T > |
|
inline |
|
private |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Moves list elements to new owner, and empties current owner (i.e.
this).
[in,out] | new_owner | The new owner of the list elements. Should be empty in input. |
|
private |
|
inline |
Pushes new element to the end of the list, i.e. in front of the sentinel.
|
inline |
Pushes new element in front of list.
|
friend |
|
private |
|
private |