5,337
edits
Line 471: | Line 471: | ||
====std::list==== | ====std::list==== | ||
This is a doubly linked list. You can delete elements from the middle of the list if you | This is a doubly linked list. You can delete elements from the middle of the list if you know have an iterator. | ||
<syntaxhighlight lang="cpp"> | <syntaxhighlight lang="cpp"> | ||
list<int> m_list; | list<int> m_list; |