DIP56 - inlining
Justin Whear via Digitalmars-d
digitalmars-d at puremagic.com
Tue Feb 3 15:37:58 PST 2015
On Tue, 03 Feb 2015 23:34:15 +0000, an wrote:
> Pragmas can be used as attribute that doesn't affect the semantics. This
> syntax is not supported in this DIP?
>
> pragma(inline, true)
> {
> void foo() { }
> void bar() { }
> }
I assume it's covered by "If this pragma is outside of a function, it
affects the functions in the block it encloses."
More information about the Digitalmars-d
mailing list