[C++-sig] Exposing Multi-Level Inheritance with virtual functions

2012-01-13 Thread Jay Riley
I've been looking around and I can find tons of information about how to wrap shallow inheritance hierarchys with virtual/pure virtual functions, but none of them show how to do multi level inheritance. I'm unsure if I'm supposed to inherit from the wrapper or the base class for the virtual fun

Re: [C++-sig] trouble using vector of shared_ptr using boost python

2012-01-13 Thread helferthomas
Thanks, it works flawlessly. Sincerly, Helfer Thomas - Mail original - De: "Jim Bosch" À: cplusplus-sig@python.org Envoyé: Vendredi 13 Janvier 2012 17:15:27 Objet: Re: [C++-sig] trouble using vector of shared_ptr using boost python On 01/13/2012 03:13 AM, helfertho...@free.fr wrote: >

Re: [C++-sig] trouble using vector of shared_ptr using boost python

2012-01-13 Thread Jim Bosch
On 01/13/2012 03:13 AM, helfertho...@free.fr wrote: Hi, In the following test, we wrap a class "A" (and the class shared_ptr using boost python facilites) and a function returning a vector of shared_ptr of this class (see test.cxx). The class "A" provides a display method. Creating an object

[C++-sig] trouble using vector of shared_ptr using boost python

2012-01-13 Thread helferthomas
Hi, In the following test, we wrap a class "A" (and the class shared_ptr using boost python facilites) and a function returning a vector of shared_ptr of this class (see test.cxx). The class "A" provides a display method. Creating an object of type "A" and calling the display method just works