[lug] OT: C++ question, const_iterator design

D. Stimits stimits at attbi.com
Sun Jun 1 15:31:57 MDT 2003


To make a long story short, someone pointed out that the object I was 
using had to be const, which I did not believe was the case; however, 
after looking at it for a week, I found he was right. So the whole 
question was pointless, the const version of begin() was only called 
because the object was const, and had nothing to do with operator= 
overloads, nor method signatures.

D. Stimits, stimits AT attbi DOT com




More information about the LUG mailing list