On 2/23/14, 5:55 PM, bearophile wrote:
Andrei Alexandrescu:I've always thought the obvious/simple way would be an attribute such as @forceinline and @noinline that applies to individual functions.Seems good. And what do you think the D compiler should do when you use @forceinline and it can't inline?
Compile-time error, no two ways about it. Andrei