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

Piotr Jaroszynski p.jaroszynski at gmail.com
Thu May 10 19:02:19 CEST 2007


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



More information about the Cplusplus-sig mailing list