[osg-submissions] osgParticle::ParticleSystem / particle LOD fixed
Robert Osfield
robert.osfield at gmail.com
Tue Feb 19 01:39:48 PST 2008
On Feb 19, 2008 9:29 AM, Mario Valle <mvalle at cscs.ch> 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.
More information about the osg-submissions
mailing list