Jump to content

C++: Difference between revisions

23 bytes added ,  22 May 2020
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;