June 13, 2015
Are `foo` and `bar` always inlined?

struct S
{
      pragma(inline, true):

      void foo(T)(T t) {}
      void bar(T)(T t) {}
}
June 13, 2015
On Saturday, 13 June 2015 at 19:13:20 UTC, Ilya Yaroshenko wrote:
> Are `foo` and `bar` always inlined?
>
> struct S
> {
>       pragma(inline, true):
>
>       void foo(T)(T t) {}
>       void bar(T)(T t) {}
> }

I am confused becuase they are templates.