Struct std::List
generic<T> struct List {
?&heap struct ListNode<T> head;
?&heap struct ListNode<T> tail;
unsigned long len;
struct NodePool<struct ListNode<T>> pool;
}Fields
Methods
empty, no allocation
0 on OOM
0 on OOM
null if empty
null if empty
drop every element
drops the elements, releases the nodes (Drop)
= drop()
cmp: <0, 0, >0 like strcmp; only == 0 matters here
drops the first match; 0 if none