deque 的解释是什么,有人可以帮助我吗?

what is the explanation of deque can any one help me?

我正在学习 stl 并学习如何使用所有 stl 容器,我需要知道 当我必须在我的程序中使用双端队列时。 deque 和其他 stl 容器有什么不同

http://www.cplusplus.com/reference/deque/deque/

您可以在两端将元素推送到双端队列。

示例: 您可以将双端队列用作 "history"。 最旧的项目在前面。 现在您可以轻松访问最新和最旧的元素。 (对撤消功能很好)