[C++-sig] inheritance problem when using constructor

Luca Sbardella luca.sbardella at gmail.com
Thu May 10 19:38:35 CEST 2007


obviously.
thanks

On 10/05/07, Piotr Jaroszynski <p.jaroszynski at gmail.com> wrote:
>
> On Thursday 10 of May 2007 18:32:34 Luca Sbardella wrote:
> > class_<ts, bases<ts_wrapper>>("timeserie", "An implementation of
> > itimeserie", init<const list&,const dict&>());
>
> ts is not derived from ts_wrapper but from its, is it? So I think you
> should
> use bases<its>.
>
> --
> Best Regards,
> Piotr Jaroszynski
> _______________________________________________
> C++-sig mailing list
> C++-sig at python.org
> http://mail.python.org/mailman/listinfo/c++-sig
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/cplusplus-sig/attachments/20070510/6919af26/attachment.htm>


More information about the Cplusplus-sig mailing list