What does 'inline' mean?
Stefan Koch
uplink.coder at googlemail.com
Tue Jun 9 12:12:34 UTC 2020
On Tuesday, 9 June 2020 at 10:19:44 UTC, Dukc wrote:
> On Tuesday, 9 June 2020 at 00:36:18 UTC, Manu wrote:
>> for instance, if you have a leaf function (does not allocate
>> any stack memory), it's only possible to make calls from that
>> function where the callee is inlined... and if inlining fails,
>> your caller will lose its no-stack-frame requirement.
>
> Out of interest: What does implementing a function without a
> stack frame enable?
Better predictability of memory access patterns for example.
Knowing that you can't have a stack overflow.
More information about the Digitalmars-d
mailing list