On Feb 19, 2008 9:29 AM, Mario Valle <[EMAIL PROTECTED]> wrote: > I'm not a big STL expert, > but one of the STL principia is: > "compare with end() ONLY using == or !="
Indeed, the std::vector<> is the only exception that "might" be able to properly support < operator virtue of use of sequential elements. The iterator shouldn't implement < or > if it doesn't support it so in theory it should't compile if it isn't supported... Due to the above ambiguities I have been wonder about removing the < and+= operator usage in this for loop and replacing them with another scheme that achieves similar results. For instance change to indices instead of iterators would solve this problem. Robert. _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
