Hello all,

I have the following for loop. When size() returns a 0, the for condition should be -1 and it should not go into the for loop, correct?

for(vector<CNodeData*>::size_type i = 0; i < GetInputRVRs().size() - 1; i++)
{

for some reason when size() returns 0, the for loop is still executed. What am I doing wrong here?

Thanks!