Searched refs:tail_ (Results 1 – 1 of 1) sorted by relevance
83 LinkedList() : head_(nullptr), tail_(nullptr) {} in LinkedList()90 this->tail_ = that.tail_; in LinkedList()91 that.head_ = that.tail_ = nullptr; in LinkedList()99 if (tail_ == nullptr) { in push_front()100 tail_ = new_entry; in push_front()108 if (tail_ == nullptr) { in push_back()109 tail_ = head_ = new_entry; in push_back()111 tail_->next = new_entry; in push_back()112 tail_ = new_entry; in push_back()127 tail_ = nullptr; in pop_front()[all …]