9#ifndef HPP_ALIB_LANG_BIDILIST
10#define HPP_ALIB_LANG_BIDILIST 1
12#if !defined(HPP_ALIB_LANG_SIDILIST)
16#if !defined(HPP_ALIB_LANG_TMP) && !defined(ALIB_DOX)
40template<
typename TElement>
122 last->next()->prev(
prev() );
123 prev()->next( last->next() );
141template<
typename TElement>
168 if( !move.isEmpty() )
251 return first() == elem;
257 bool isLast(
const TElement* elem )
const
259 return last() == elem;
platform_specific integer
bool isFirst(const TElement *elem) const
void pushFront(TElement *elem)
BidiListHelper & operator=(const BidiListHelper &)=delete
integer count(const TNode *end=nullptr) const
BidiListHelper(TElement *first, TElement *last)
BidiListHelper(const BidiListHelper &)=delete
BidiListHelper(BidiListHelper &&move) noexcept
void pushEnd(TElement *first, TElement *last)
BidiListHelper() noexcept
void pushEnd(TElement *elem)
bool isLast(const TElement *elem) const
void pushFront(TElement *first, TElement *last)
void remove(TElement *last)
void addBefore(TElement *elem)
void prev(BidiNodeBase *newPrev)
BidiNodeBase() noexcept=default
void addBehind(TElement *elem)
void next(SidiNodeBase *p)
bool pointsTo(const SidiNodeBase *elem) const