What does 'inline' mean?
    Walter Bright 
    newshound2 at digitalmars.com
       
    Wed Jun 10 01:36:07 UTC 2020
    
    
  
On 6/9/2020 4:30 PM, Manu wrote:
> It's like you skipped over ALL OF THE OTHER TEXT, where it details numerous 
> precise behavioural requirements :/
As I replied elsewhere to you, those other requirements are there to deal with 
.h files, obsolete linkers, and ancient object file formats.
 > "Because the meaning of the keyword inline for functions came to mean 
"multiple definitions are permitted" rather than "inlining is preferred", that 
meaning was extended to variables."
It's a hack for the the same problem - .h files, etc. There's no reason for that 
in D.
    
    
More information about the Digitalmars-d
mailing list