DIP56 Provide pragma to control function inlining
Dicebot
public at dicebot.lv
Sun Feb 23 11:04:09 PST 2014
On Sunday, 23 February 2014 at 13:07:27 UTC, Dmitry Olshansky
wrote:
> It's going to be near useless if it doesn't make sure inlining
> happened.
> Part of the reason for forced inline is always inlining some
> core primitives, even in debug builds.
Optional recommendation for inlining already exists - it is
current default. This pragma needs to result in compile-time
error if used where inlining is not possible to be any useful.
Other than that, looks fine.
More information about the Digitalmars-d
mailing list