Kurosu a écrit :
> Author: kurosu
> Date: Fri Oct 10 19:50:21 2008
> New Revision: 5246
>
> URL: http://svn.gna.org/viewcvs/wormux?rev=5246&view=rev
> Log:
> [Win32] .at() method not implemented, use normal [] operator instead.
>   

Ok, no problem. I have initially replaced it thinking it was a vector. 
On a vector, if I remember correctly, .at(i) is equivalent to [i] but 
.at(i) checks that the vector is long enough and i is not out of range, 
[i] don't do that.

But here, it's a map and not a vector, so I'm not sure what could be the 
difference between .at() and [].

Regards,

Matt (gentildemon)

> Modified:
>     trunk/src/physic/physical_engine.cpp
>
>
> _______________________________________________
> Wormux-cvs mailing list
> [EMAIL PROTECTED]
> https://mail.gna.org/listinfo/wormux-cvs
>
>
>   


_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev

Répondre à