This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: inline funtcion of base class
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Hatt Tom <net dot study dot sea at gmail dot com>
- Cc: "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 20 Aug 2013 08:54:37 +0100
- Subject: Re: inline funtcion of base class
- References: <CAHvbk5M_x8Ee502S4QhOF1GqfyW7tnxznQ4PtjWqMZV92WBskA at mail dot gmail dot com>
On 20 August 2013 04:57, Hatt Tom wrote:
> hi:
> Here is my example :
>
> class A { inline func();}
>
> class B:public A ;
>
> If B calls func() ,is it dealed as inline ,which has no frame ?
> if I want to share one inline function from base class , what is the
> best mothod ?
This question is not relevant to libstdc++, please don't cross-post to
this list and gcc-help, thanks.