Separate meaning for "inline" and "force inline"
Guillaume Piolat
firstname.name at spam.com
Wed Nov 20 18:21:00 UTC 2024
On Wednesday, 20 November 2024 at 17:35:48 UTC, Richard (Rikki)
Andrew Cattermole wrote:
> https://github.com/dlang/dmd/blob/3fa3ac85e2feae47703964d6586231d02974c222/compiler/src/dmd/hdrgen.d#L1126
>
> Which makes sense, you can't inline a function if you don't
> have the body.
Perhaps, still you might want to have to have the body in the .di
AND let the compiler decide if it's inlined or not, I'm not sure
that's possible right now?
More information about the dip.ideas
mailing list