new pragma(inline) syntax

Ilya Yaroshenko via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jun 13 12:14:27 PDT 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.


More information about the Digitalmars-d-learn mailing list