Re: "massive" inline

2009-09-30 Thread Andrew Pinski
On Wed, Sep 30, 2009 at 12:39 PM, Alexander Shabanov wrote: > I mean whether the code > > class A > { >  inline void foo() { ... } > }; > > is absolutely equal to > > class A > { >  void foo() { ... } > }; > > in *any* circumstances or not? They are the same unless you do -fno-default-inline and

"massive" inline

2009-09-30 Thread Alexander Shabanov
Hello! Could you please clarify whether or not g++ takes into an account explicitly specified inline qualifier for the class member function implemented in the class body? I know that according to C++ standard such a function shall be qualified as inline no matter whether "inline" qualifier speci