Searched refs:tail_ (Results 1 – 1 of 1) sorted by relevance
82 LinkedList() : head_(nullptr), tail_(nullptr) {} in LinkedList()89 this->tail_ = that.tail_; in LinkedList()90 that.head_ = that.tail_ = nullptr; in LinkedList()98 if (tail_ == nullptr) { in push_front()99 tail_ = new_entry; in push_front()107 if (tail_ == nullptr) { in push_back()108 tail_ = head_ = new_entry; in push_back()110 tail_->next = new_entry; in push_back()111 tail_ = new_entry; in push_back()126 tail_ = nullptr; in pop_front()[all …]