Bonjour.
A plusieurs reprises, quand j'essaye d'utiliser l'itterator avec .end() - x , ca plante.
Ma question : est-ce normal ?
Merci si vous pouvez m'aider ;)Code:
1
2
3
4
5
6
7
8 if ( _Object.size() > 8 ) { for ( std::vector < std::shared_ptr < OBJECT > >:: iterator it = _Object.begin() ; it != _Object.end() - 4 ; ) { ... } }