Searched refs:newNode (Results 1 – 2 of 2) sorted by relevance
214 _Node* newNode = new _Node(val); // alloc & copy-construct in insert() local215 newNode->setNext(posn.getNode()); in insert()216 newNode->setPrev(posn.getNode()->getPrev()); in insert()217 posn.getNode()->getPrev()->setNext(newNode); in insert()218 posn.getNode()->setPrev(newNode); in insert()219 return iterator(newNode); in insert()