On 2014-08-03 19:59, Artur Skawina via Digitalmars-d wrote:

No; the advantage of using these magic UDA is that they don't need
to be vendor-specific. IOW one can define "inline" as the GDC magic
attribute, or nothing. Maybe even some other compiler can support it.
And the source code remains portable.

@GNU_forceinline @LLVM_forceinline @DM_forceinline @SDC_forceinline int 
foobar(); // ...

It's also possible to use fully qualified names if one wants to be specific about the UDA to use.

--
/Jacob Carlborg

Reply via email to