C++中P.J. Plauger STL和SGI STL中map的区别
来源:互联网 发布:能写作的软件 编辑:程序博客网 时间:2024/05/16 19:20
P.J. Plauger STL和SGI STL中map的erase方法实现是有区别的,其中Windows下常用的是P.J. Plauger STLP,Linux下是SGI STL,SGI STL实现了标准的STL规范。
.J. Plauger STL:
- for(ITER iter = mapTest.begin(); iter != mapTest.end();)
- {
- iter = mapTest.erase(iter);
- }
SGI STL:
- for(ITER iter = mapTest.begin(); iter != mapTest.end();)
- {
- mapTest.erase(iter++);
- }
转自:http://blog.csdn.net/donhao/article/details/6636098
- C++中P.J. Plauger STL和SGI STL中map的区别
- C++中P.J. Plauger STL和SGI STL中map的区别
- STL中vector、list、deque和map的区别
- STL中vector、list、deque和map的区别
- STL中vector、list、deque和map的区别
- STL中vector、list、deque和map的区别
- STL中vector、list、deque和map的区别
- STL中vector、list、deque和map的区别
- STL中vector、list、deque和map的区别
- STL中vector、list、deque和map的区别
- STL中vector、list、deque和map的区别
- STL中vector、list、deque和map的区别
- STL中vector、list、deque和map的区别
- STL中vector、list、deque和map的区别
- STL中vector、list、deque和map的区别
- STL中vector、list、deque和map的区别
- STL中vector、list、deque和map的区别
- STL中vector、list、deque和map的区别
- 欧几里得法求最大公约数
- 文档用图
- java 异常捕捉 ( try catch finally ) 你真的掌握了吗?
- rational.py: An example Python class
- Oracle ERP系统借贷关系表
- C++中P.J. Plauger STL和SGI STL中map的区别
- 试题集
- ARC指南2 - ARC的开启和禁止
- anova
- c/c++开发工具
- 两个C++编译错误及解决办法--does not name a type和field `XX' has incomplete type
- HDU 1022 Train Problem I 栈、队列
- 单链表的初始化,建立,插入,查找,删除。
- 双链表的初始化,建立,插入,查找,删除