This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Handling overloaded template functions with variadic parameters
- From: "Rob Quill" <rob dot quill at gmail dot com>
- To: "GCC Development" <gcc at gcc dot gnu dot org>
- Date: Thu, 15 Nov 2007 17:36:08 +0000
- Subject: Handling overloaded template functions with variadic parameters
Hi,
I am trying to fix this bug:
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33962
The problem seems to that more_specialized_fn() doesn't seem to know
how to cope with deciding whether which function is more specialised
from two variadic functions.
I have narrowed the problem down to more_specialized_fn() being told
their are two parameters to look at, but the tree chain for the
arguments only having one. I am not sure if this because:
a) the number of parameters should not include the variadic (...) parameter
or
b) the tree chains should include something to show the variadic parameter
Any advice you can offer is greatly appreciated.
Rob Quill