我需要迭代std::queue.www.cplusplus.com说:
std::queue
默认情况下,如果没有为特定队列类指定容器类,则使用标准容器类模板deque.
那么我可以以某种方式到达队列的底层deque并迭代它吗?
c++ iteration queue c++-standard-library
c++ ×1
c++-standard-library ×1
iteration ×1
queue ×1