Difference in STL implementations...
At school here compiling with dev-cpp I'm getting strange results in my program.
I'm using STL <list>. Now at home using g++ 4.2.3 (or whatever the latest version is) it seems it treats the end of the list differently, than it's being treated using dev-cpp (don't know which version of g++ or mingw it is).
Well quite frankly, it is treating it differently. As my main program loop get's back to the end of the list it treats:
it = mlist.end();
as if it were:
it = mlist.begin();
I know it's doing this, because my code has worked w/out problem with the latest version of g++.
But here at school, the compiler acts like it doesn't understand.
What's the deal?
Was <list> not treated as a circular list in older versions?