On Wed, Sep 30, 2009 at 12:39 PM, Alexander Shabanov
<avshaba...@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

Reply via email to