What does 'inline' mean?

Patrick Schluter Patrick.Schluter at bbox.fr
Tue Jun 9 06:07:09 UTC 2020


On Tuesday, 9 June 2020 at 00:36:18 UTC, Manu wrote:
> On Tue, Jun 9, 2020 at 1:00 AM Steven Schveighoffer via 
> Digitalmars-d < digitalmars-d at puremagic.com> wrote:
>
>>[...]
>
> What's funny is, in most cases, whether the function is 
> ACTUALLY inlined is
> not really interesting in 2020.
> What inline allows is control over the binary environment as I 
> describe. I
> read it these days as "inline to the calling CU" rather than 
> "inline to the
> calling function".
>
> [...]

Even when forcing inlining with __attribute__((always_inline)) ? 
(in gcc).


More information about the Digitalmars-d mailing list