This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: "massive" inline


On Wed, Sep 30, 2009 at 12:39 PM, Alexander Shabanov
<avshabanov@gmail.com> 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 then the
second version is not marked as inline.

Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]