由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - [合集] iterator & const_iterator
相关主题
const_reverse_iterator和reverse_iterator有什么区别? (转载)template
c++ iterator 弱问弱问:C的for/while循环能在括号里面continue吗?
[合集] 简单问题一个:为什么可以间接访问私有指针成员C++ class cross reference problem
问一个C++ set和unordered_set iterator的问题a c++ question
c++标准函数传递一问c++ private 问题
C++ 的 问题这段 C++ 怎么改才能编译?
古德八你一次把需求写干净了C++ 模板编译错误?
C++ optimization questionC++ 用户定义exception的标准用法是什么?
相关话题的讨论汇总
话题: iterator话题: const话题: jul话题: thu话题: agare
进入Programming版参与讨论
1 (共1页)
b***y
发帖数: 2799
1
☆─────────────────────────────────────☆
agare (work) 于 (Thu Jul 21 19:56:29 2005) 提到:
what's the difference between iterator & const_iterator.
For example, a type data-structure, I'm using iterator member
function to access, it report compile error.
While using const_iterator, it's fine.
☆─────────────────────────────────────☆
uuiiuu (无) 于 (Thu Jul 21 20:04:20 2005) 提到:
非常清楚,就象他们名字写的,一个是const,一个不是。

☆─────────────────────────────────────☆
agare (work) 于 (Thu Jul 21 20:36:32 2
1 (共1页)
进入Programming版参与讨论
相关主题
C++ 用户定义exception的标准用法是什么?c++标准函数传递一问
请教一个boost::bind的问题C++ 的 问题
template 疑问古德八你一次把需求写干净了
请教一下这个template function在gcc下要怎么修改C++ optimization question
const_reverse_iterator和reverse_iterator有什么区别? (转载)template
c++ iterator 弱问弱问:C的for/while循环能在括号里面continue吗?
[合集] 简单问题一个:为什么可以间接访问私有指针成员C++ class cross reference problem
问一个C++ set和unordered_set iterator的问题a c++ question
相关话题的讨论汇总
话题: iterator话题: const话题: jul话题: thu话题: agare