Lines Matching refs:m_head
51 return m_head.next == nullptr;
72 nd.next = std::exchange(m_head.next, &nd);
80 auto node = m_head.next;
81 m_head.next = std::exchange(node->next, node);
89 m_head.Swap(rhs.m_head);
93 NodeType m_head {nullptr};
117 List() noexcept : m_head {&m_tail, &m_tail}, m_tail {&m_head, &m_head}
124 NodeType* x = rhs.m_head.next;
125 m_head.next = x;
126 x->prev = &m_head;
142 NodeType* x = rhs.m_head.next;
143 m_head.next = x;
144 x->prev = &m_head;
171 m_head.next->prev = &nd;
172 nd.prev = &m_head;
173 nd.next = m_head.next;
174 m_head.next = &nd;
194 auto node = static_cast<T*>(m_head.next);
202 return empty() ? nullptr : static_cast<T*>(m_head.next);
234 m_tail.prev = &m_head;
235 m_tail.next = &m_head;
236 m_head.prev = &m_tail;
237 m_head.next = &m_tail;
242 NodeType m_head;