QVector Assert statement seems to fail?
Check out this debug screen when a QVector assertion failed:
(having problems getting my image to post)
The assertion requires "i" to be between 0 and the size of the vector, which makes sense.
This assertion failed when "i" was in fact meeting that criteria. Can anyone see a problem here?
Maybe you can show us the code where the assertion fails?
I don't believe that it will just fail with every vector when you try to access a valid index..
I'm more interested in the meaning of this debug screen. Am I reading it right? It seems to clearly suggest the assertion failed (hence the crash I got) even though the variables recorded in the debugger (the "i" variable) are not conflicting with the what the assert statement requires, since "i" was clearly between 0 and the size, also recorded there in the debug screenshot.