inlining

Jason House jason.james.house at gmail.com
Thu Jul 17 16:48:24 PDT 2008


Bill Baxter Wrote:

> 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

The last thing I want from a language is two completely different methods that may require me to flip implementation methods for assumed gains from compiler optimizations.



More information about the Digitalmars-d mailing list