Afficher un message
Vieux 10/06/2008, 12h46   #8
Frank Birbacher
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: How to copy a vector if pointers to base class

Hi!

Daniel T. schrieb:
> The output I get is:
>
> Base::foo()
> Dev::foo()
> Dev::foo()
> Dev::foo()
>
> IE: in every case except the first, Dev::foo() is called.


o_O I'm sorry, I have a complete misunderstanding of this issue.

Thanks to both of you, Daniel and James, for clearing things up.

Frank
  Réponse avec citation
 
Page generated in 0,05163 seconds with 9 queries