Strange inlining behaviour

2021-02-02 Thread John Colvin via D.gnu
https://d.godbolt.org/z/r8Gj1b Very odd results, or at least they seem odd to me. Lambdas being treated differently to nested functions, behaviour being different depending on whether there is a `pragma(inline, false)` function to forward to? Also, different behaviour depending on whether the

Re: Strange inlining behaviour

2021-02-02 Thread John Colvin via D.gnu
On Tuesday, 2 February 2021 at 20:42:38 UTC, John Colvin wrote: https://d.godbolt.org/z/r8Gj1b Very odd results, or at least they seem odd to me. Lambdas being treated differently to nested functions, behaviour being different depending on whether there is a `pragma(inline, false)` function t