MAINLINE PATCH: Arguments And Jousting

Jeffrey Oldham oldham@codesourcery.com
Mon Feb 26 08:00:00 GMT 2001


When determining whether one template function is more specialized
than another template function, more_specialized() is passed the
number of function arguments to consider.  The 'this' argument is
treated specially for constructors.

Compiling a Pooma 2.3.0 example revealed the error.

2001-02-26  Jeffrey Oldham  <oldham@codesourcery.com>

	* call.c (joust): Ensure more_specialized()'s argument length
	parameter has correct value for constructors.

Tested on	i686-pc-linux-gnu, building c++ and libstdc++-v3 and C++ tests
Approved by	Mark Mitchell (mark@codesourcery.com)

Thanks,
Jeffrey D. Oldham
oldham@codesourcery.com


More information about the Gcc-patches mailing list