What does 'inline' mean?

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Jun 12 13:27:23 UTC 2020


On 6/8/20 10:09 AM, Manu wrote:
> It's not a hint at all. It's a mechanical tool; it marks symbols with 
> internal linkage, and it also doesn't emit them if it's never referenced.
> The compiler may not choose to ignore that behaviour, it's absolutely 
> necessary, and very important.

Manu, your understanding of inlining is very wrong. Maybe you refer to 
C's __inline__ (with which I'm not familiar)?


More information about the Digitalmars-d mailing list