How to judge if an iterator is used before.
来源:互联网 发布:中天制片软件下载 编辑:程序博客网 时间:2024/04/30 21:51
list<int> ListInt;
list<int>::iterator it = ListInt.end();
if ( it == ListInt.end() )
{
//unvalid.
}
else
{
//valid
}
http://www.itzhe.cn/news/20080101/40229_3.html
- How to judge if an iterator is used before.
- How to judge whether an array is empty?
- How to: Determine if a Package that is About to be Compiled is Being Used Currently (文档 ID 1054939.6
- How To Determinate If An EMCPOWER Partition Is Valid For ASMLIB
- how to judge a string is eauql 0
- What is and how to calculate 'cumulative gas used'?
- How to Avoid ConcurrentModificationException when using an Iterator
- How to used HttpModule
- How To Detect If an Application Has Stopped Responding
- How To Detect If an Application Has Stopped Responding
- How To Detect If an Application Has Stopped Responding
- Simple way to check if an image bitmap is blur
- How to Use Iterator
- How to determine if a machine is localhost?
- how to check if license is downloaded fully
- Android How to Check if the App is in Background
- How to justify if a file is locked
- When An SO is closed ,how to cancel it
- HttpClient并发
- 美国为何不救制造业
- 送给大家的 生活小常识
- 在WORD表格中如何实现加法?
- 一些算法
- How to judge if an iterator is used before.
- 使用 Strace 和 GDB 调试工具的乐趣
- 求源代码
- Felomeng翻译:libsvm2.88之附录
- 字符串拆分函数 sql2000
- MultiColumnCombobox 实现代码
- spring源代码分析(3):关于BeanDefinition的思考
- Felomeng翻译:libsvm2.88之Python接口
- Felomeng翻译:libsvm2.88之附加工具:子取样器,参数选择器,数据格式较验器等