Doubly linked, cyclic list in standard library
问题 I need doubly linked cyclic list, but a cant find it in STL containers (singly linked cyclic list too). It may looks like that: element 0 <-> element 1 <-> ... <-> ... ^ ^ | | v v element n <-> element n-1 <-> element n-2 Can you show me what i missed? Thanks in advance. 回答1: You haven't missed anything. There is no such container in the standard library. 来源: https://stackoverflow.com/questions/21649295/doubly-linked-cyclic-list-in-standard-library