Searched refs:posn (Results 1 – 2 of 2) sorted by relevance
211 iterator insert(iterator posn, const T& val) in insert() argument214 newNode->setNext(posn.getNode()); in insert()215 newNode->setPrev(posn.getNode()->getPrev()); in insert()216 posn.getNode()->getPrev()->setNext(newNode); in insert()217 posn.getNode()->setPrev(newNode); in insert()222 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() argument224 insert(posn, *first); in insert()228 iterator erase(iterator posn) { in erase() argument229 _Node* pNext = posn.getNode()->getNext(); in erase()230 _Node* pPrev = posn.getNode()->getPrev(); in erase()[all …]
213 iterator insert(iterator posn, const T& val) in insert() argument216 newNode->setNext(posn.getNode()); in insert()217 newNode->setPrev(posn.getNode()->getPrev()); in insert()218 posn.getNode()->getPrev()->setNext(newNode); in insert()219 posn.getNode()->setPrev(newNode); in insert()224 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() argument226 insert(posn, *first); in insert()230 iterator erase(iterator posn) { in erase() argument231 _Node* pNext = posn.getNode()->getNext(); in erase()232 _Node* pPrev = posn.getNode()->getPrev(); in erase()[all …]