Re:Arrays considered somewhat harmful
by scott_s on Tuesday January 25, 2011 @06:57PM
(#2141482)
The concept of const actually comes from C++, and was back-ported to C.
I see how const_iterator can be a stumbling block, but I'd like to hear your reason for why it doesn't work well. It is different than iterator, since const_iterator accesses const values (by convention).
I see how const_iterator can be a stumbling block, but I'd like to hear your reason for why it doesn't work well. It is different than iterator, since const_iterator accesses const values (by convention).