inlining

Bill Baxter dnewsgroup at billbaxter.com
Thu Jul 17 14:19:53 PDT 2008


bobef wrote:
> This has probably been asked many times before. If someone knows of such discussion please paste me a link. Why not an 'inline' attribute? We all know that the compiler can be stupid some times, and even if it is not people may want to inline something that is normally not appropriate for inlining. Auto inlining is fine, but people should have control over such kind of things I believe.

Looking ahead, I think macro() will reduce the need for an inline 
specifier.  Yeh, it won't be quite the same, but it'll be close enough 
that making a separate inline keyword may not be worth it.

--bb



More information about the Digitalmars-d mailing list