Style of libstdc++ header files

Wolfgang Bangerth bangerth@ices.utexas.edu
Tue Sep 14 19:20:00 GMT 2004


> I would oppose to that as atleast short always-to-be-inlined methods are
> way easier to read/find if they are defined inline.

In reality, I hardly ever have to _find_ a particular method. I want to 
_delete_ whole blocks of code, whatever is in them. What is important is the 
number of semantic connections of other parts of a code into the block I want 
to delete. For member function definitions, there are no such connections 
because the declarations are still there.


>  I'd rather spent
> the converting time creating a more C++-syntax aware
> testcase-reduction tool (like f.i. as you are suggesting, removing
> method definitions but retaining/creating declarations).

Well, fact is: there is no such tool. People have tried to play around with 
Delta, but it turns out that the fastest and most efficient method is still 
brute human force. Nobody seems to know how to write a tool like you suggest.

W.

-------------------------------------------------------------------------
Wolfgang Bangerth              email:            bangerth@ices.utexas.edu
                               www: http://www.ices.utexas.edu/~bangerth/



More information about the Gcc mailing list