C++: problems with default args and const member functions

Wolfgang Bangerth Wolfgang.Bangerth@IWR.Uni-Heidelberg.De
Mon Jan 15 01:02:00 GMT 2001


Hi there,
recently, I have found several compiler errors which are seemingly very
different but share one common feature: they go away if either
- the 'const'ness of a function is removed, or
- the default argument of the function is removed.
Some of these bugs have gone away the next day, but some remained (e.g.
c++/1632, c++/1652). 

Maybe this observation of a common pattern is a ringing bell to someone.

Best regards + many thanks for your work,
  Wolfgang

-------------------------------------------------------------------------
Wolfgang Bangerth          email: wolfgang.bangerth@iwr.uni-heidelberg.de
                             www: http://gaia.iwr.uni-heidelberg.de/~wolf




More information about the Gcc-bugs mailing list