discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Patch 2/3: usrp specific patches


From: Stefan Bruens
Subject: Re: [Discuss-gnuradio] Patch 2/3: usrp specific patches
Date: Tue, 16 Sep 2008 20:46:04 +0200
User-agent: KMail/1.10.1 (Linux/2.6.25.16-0.1-default; KDE/4.1.2; x86_64; ; )

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

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]