摘要: STL的foreach定义如下_Fn1 for_each(_InIt _First, _InIt _Last, _Fn1 _Func)void function_name(value_type tempVar){ //your code here use tempVar }_container_type 取自 STL 提供的容器类型如: std::map std::vector std::list std::set ...typedef std::_container_type<value_type> container_type;container_type m_dataList 阅读全文
posted @ 2012-12-16 13:21 (soli)Tary 阅读(283) 评论(0) 推荐(0) 编辑