a little bit of c++ in kernel [module]

Andriy Gapon avg at icyb.net.ua
Thu Feb 12 03:37:12 PST 2009


on 11/02/2009 23:51 Christoph Mallon said the following:
> Aniruddha Bohra schrieb:
>> On Wed, Feb 11, 2009 at 8:25 AM, Andriy Gapon <avg at icyb.net.ua> wrote:
[snip]
>>> 3. I assume virtual inheritance can be used in kernel code? do you 
>>> use it?
> 
> Virtual inheritence needs no support from the "outside", so it is 
> available.
> 
>> Yes. For example, all objects inherit from "Element" and that defines
>> virtual functions. (include/click/element.hh)
> 
> Virtual inheritance is something completely different than virtual methods.

The foul is on me, I should have known to write in proper terms.
I meant virtual methods and their overriding, but used the wrong term.
Thank you.


-- 
Andriy Gapon


More information about the freebsd-hackers mailing list