Afficher un message
Vieux 22/02/2008, 13h44   #13
Old Wolf
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: vector.erase(iterator iter) will change "iter" or not?

On Feb 22, 8:47 pm, Triple-DES <fire13...@hotmail.com> wrote:
> That's an interesting point. Consider:
> int * p = new int(441);
> delete p;
>
> Would you say that the last line changes the value of p?


Yes
  Réponse avec citation
 
Page generated in 0,04108 seconds with 9 queries