This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [C++ PATCH] Fix PR2862, 2863




--On Tuesday, July 16, 2002 10:29:56 PM +0700 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net> wrote:

Hi

This patch fixes PR2862 and 2863.  It has to do with function
parameters having default arguments.  When declaring template
function specialization and instantiation, all parameter
has to be specified, even though default arguments are provided.
The change involves adding a test to compare the length of
argument lists.  I also reorganize the code a bit to make it
structural.

Bootstrapped and tested on i686-pc-linux-gnu with no regressions.
Ok to commit to mainline?
This is OK.

--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]