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: Eric Blossom
Subject: Re: [Discuss-gnuradio] Patch 2/3: usrp specific patches
Date: Tue, 16 Sep 2008 09:56:27 -0700
User-agent: Mutt/1.5.17 (2007-11-01)

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




reply via email to

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