inlining or not inlining...

Walter Bright newshound2 at digitalmars.com
Fri Feb 11 00:33:24 PST 2011


so wrote:
>> You cannot force inlining in C(++) either. The inline keyword is only 
>> a suggestion.
>>
>> I'm not understanding your last comment that a .lib would be required. 
>> That's not correct, as since you're supplying the full source anyway 
>> (needed for inlining), just compile in that source from the command 
>> line. No lib step is needed.
> 
> Hinting wasn't enough, every major implementation have a forceinline 
> extension now.
> So you know if something you asked is inlined or not.


There are all kinds of extensions popular in C++, but they are not part of 
Standard C++.


More information about the Digitalmars-d mailing list