Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在 windbg 中找到 STL 双端队列容器的元素计数?
似乎 !stl 扩展不支持双端队列。我试过研究数据结构的内部结构,但没有找到一个明显的元素计数成员变量。
我有一个不可重现问题的内存转储,所以记录不是我的选择。
在最近的 Visual C++ 标准 C++ 库实现中——至少 Visual C++ 2008 和 Visual C++ 2010——std::deque有一个_Mysize数据成员来保存容器中元素的数量。
std::deque
_Mysize