Am Tuesday 16 September 2008 18:56:27 schrieb Eric Blossom: > On Tue, Sep 16, 2008 at 05:35:49PM +0200, Stefan Brüns wrote: > > On Tuesday 16 September 2008 14:24:49 Stefan Brüns wrote: > > > > > > Making usrp_basic abstract and some of the functions pure virtual caught > > some faults - newer call a virtual method in the base constructor and > > hope it calls the method of the derived class. > > Stefan, > > A call through a virtual in the base constructor will not resolve to > the derived class, it calls the base class. (The derived class has > not yet been initialized, since we're still in the constructor of the > base.)
Yes, I know that, and I exactly meant to say that. The comment was actually meant for the third patch, where the constructors where calling the wrong methods. Stefan -- Stefan Brüns / Bergstraße 21 / 52062 Aachen phone: +49 241 53809034 mobile: +49 151 50412019
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio