Sami-Vuorela / aatc

Angelscript addon: Template Containers brings the STL containers to angelscript
Other
39 stars 8 forks source link

Wrong iterator behavior #8

Open ghost opened 7 years ago

ghost commented 7 years ago

vector vec; vec.push_back(0); vec.push_back(1); for( auto itor = vec.begin(); itor != vec.end(); itor++) { Print(itor.value); }

result: 0 0 1