On inlining in C++

Andrew Haley aph@redhat.com
Mon Aug 4 16:46:00 GMT 2003


Robert Dewar writes:
 > > Excellent article.  I think that anyone who wishes to oppose the argument
 > > should be asked to demonstrate that we can get better quality of results
 > > by deviating from the simple approach Gaby describes; philosophical
 > > arguments should not suffice.
 > 
 > Well there is a burden of demonstration on both sides I would say, in terms
 > of showing behavior on actual code.

Perhaps there is, but the Principle of Least Surprise favours a
fairly literal interpretation of "inline".

Andrew.



More information about the Gcc mailing list