![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <list.h>
Public Member Functions | |
List ()=default | |
List (List &&other) V8_NOEXCEPT | |
List & | operator= (List &&other) V8_NOEXCEPT |
void | PushBack (T *element) |
void | PushFront (T *element) |
void | Remove (T *element) |
bool | Contains (const T *element) const |
bool | Empty () const |
T * | front () |
T * | back () |
const T * | front () const |
const T * | back () const |
size_t | size () const |
Private Member Functions | |
void | AddFirstElement (T *element) |
void | InsertAfter (T *element, T *other) |
void | InsertBefore (T *element, T *other) |
Private Attributes | |
T * | front_ {nullptr} |
T * | back_ {nullptr} |
size_t | size_ {0} |
|
default |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
|
private |
|
private |