Boost logo

Boost :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2001-07-16 15:38:35


This seems like it should be fixable.

----- Original Message -----
From: <rwgk_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Monday, July 16, 2001 2:08 PM
Subject: [boost] Re: Boost:::python inheritance

> --- In boost_at_y..., Peter.Bienstman_at_r... wrote:
> > However, this does not seem to work, I have to explicitly define
> > operator() in Material as well, in order to get it to work.
> >
> > Am I missing something here? It would be really useful if one did
> not
> > have to manually reregister functions in derived classes.
> >
> > Peter
>
> operator()/__call__ seems to be the exception to the rule
> that the methods are inherited when specifying declare_base().
> See below.
> Ralf
<snip>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk