Searched refs:posn (Results 1 – 2 of 2) sorted by relevance
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 …]
190 iterator insert(iterator posn, const T& val) { in insert() argument192 newNode->setNext(posn.getNode()); in insert()193 newNode->setPrev(posn.getNode()->getPrev()); in insert()194 posn.getNode()->getPrev()->setNext(newNode); in insert()195 posn.getNode()->setPrev(newNode); in insert()200 void insert(iterator posn, const_iterator first, const_iterator last) { in insert() argument202 insert(posn, *first); in insert()206 iterator erase(iterator posn) { in erase() argument207 _Node* pNext = posn.getNode()->getNext(); in erase()208 _Node* pPrev = posn.getNode()->getPrev(); in erase()[all …]