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.) Eric _______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio