122 inline bool empty()
const;
241 const link* curElmt_;
285 const link* curElmt_;
An STL-conforming const_iterator.
bool operator!=(const const_iterator &) const
bool operator==(const const_iterator &) const
const_iterator(const DLListBase &, const link *)
Construct for a given DLListBase and link.
const_iterator & operator++()
void operator=(const const_iterator &)
An STL-conforming const_reverse_iterator.
bool operator==(const const_reverse_iterator &) const
bool operator!=(const const_reverse_iterator &) const
const_reverse_iterator(const DLListBase &, const link *)
Construct for a given DLListBase and link.
void operator=(const const_reverse_iterator &)
const_reverse_iterator & operator++()
An STL-conforming iterator.
bool operator!=(const iterator &) const
bool operator==(const iterator &) const
void operator=(const iterator &)
const const_iterator & cend() const
link * first()
Return first entry.
void insert(link *)
Add at head of list.
link * remove(link *)
Remove and return element.
link * last()
Return last entry.
label size() const
Return number of elements in list.
link * replace(link *oldLink, link *newLink)
Replace oldLink with newLink and return element.
bool swapDown(link *)
Swap this element with the one below unless it is at the bottom.
bool empty() const
Return true if the list is empty.
const_reverse_iterator rbegin() const
DLListBase()
Null construct.
void operator=(const DLListBase &)=delete
Disallow default bitwise assignment.
const_reverse_iterator crbegin() const
const const_reverse_iterator & crend() const
const const_reverse_iterator & rend() const
link * removeHead()
Remove and return head.
void append(link *)
Add at tail of list.
const_iterator cbegin() const
bool swapUp(link *)
Swap this element with the one above unless it is at the top.
void clear()
Clear the list.
void transfer(DLListBase &)
Transfer the contents of the argument into this List.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool registered() const
Check if the link is registered with the DLListBase.
link * prev_
Pointer to next entry in list.
void deregister()
Deregister the link after removal.