digitalmars.D.learn - new pragma(inline) syntax
- Ilya Yaroshenko (7/7) Jun 13 2015 Are `foo` and `bar` always inlined?
- Ilya Yaroshenko (2/9) Jun 13 2015 I am confused becuase they are templates.
Are `foo` and `bar` always inlined?
struct S
{
pragma(inline, true):
void foo(T)(T t) {}
void bar(T)(T t) {}
}
Jun 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.
Jun 13 2015








"Ilya Yaroshenko" <ilyayaroshenko gmail.com>