DIP56 - inlining

via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 4 04:47:24 PST 2015


On Wednesday, 4 February 2015 at 10:57:25 UTC, Johannes Pfau 
wrote:
> That's not necessary. For GDC you can do this:
>
> alias forceinline = Attribute!("forceinline");
> (I don't remember the exact syntax but you can use an alias)
>
> Then you can simply do
> @forceinline void test (){};

Yes, your attribute syntax is quite ok, but if the outcome is 
that each program is having their own inline syntax then it is 
less than satisfactory.


More information about the Digitalmars-d mailing list