Date: Thu, 12 Feb 2009 13:37:03 +0200 From: Andriy Gapon <avg@icyb.net.ua> To: Christoph Mallon <christoph.mallon@gmx.de> Cc: hackers@freebsd.org, Aniruddha Bohra <abohra@gmail.com> Subject: Re: a little bit of c++ in kernel [module] Message-ID: <499409DF.4070404@icyb.net.ua> In-Reply-To: <49934846.10905@gmx.de> References: <43a2dc1a0902101243w5ce35609x35dbe440c39d80a8@mail.gmail.com> <4992D1B0.8020708@icyb.net.ua> <43a2dc1a0902110840t1e4c8856lb5b33cc153ea4acb@mail.gmail.com> <49934846.10905@gmx.de>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?499409DF.4070404>