From: SF M. E. <el...@us...> - 2004-03-03 16:25:56
|
> First, please read my post again. I am not saying that you *need* pointers > to express "special value". How do you think about to return an object for your "special value" like it is done with the methods "begin" and "end" in a list class? http://www.igpm.rwth-aachen.de/C++/STL_doc/List.html > Third, I am not sure I fully understand your iterators example. The source > of my confusion may be the fact that raw poiters are also valid STL > iterators. Could you elaborate on what exactly you want to point out? The STL encapsulates this behaviour with template classes. So you are used to that kind of "magic". > I am sorry, I do not understand the question. What copy semantics do I use > where? This topic deals with object identity and object equality. |