This is the mail archive of the gcc@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]

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


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