This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
inline funtcion of base class
- From: Hatt Tom <net dot study dot sea at gmail dot com>
- To: "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Tue, 20 Aug 2013 11:57:00 +0800
- Subject: inline funtcion of base class
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 ?
Thaks!