http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58527
Paolo Carlini changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58527
--- Comment #3 from Marc Glisse ---
(In reply to Nick Maclaren from comment #2)
> I would be interested in a reference to the wording in the standard,
> if you know it offhand. I failed to find it.
[temp.deduct.call]
For a function parameter pa
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58527
--- Comment #2 from Nick Maclaren ---
Thanks. I can't use your fix, because I am trying to write a generic
multi-dimensional array class for possible inclusion in the standard,
and demanding such usages from end users is Not On. There are other
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58527
--- Comment #1 from Marc Glisse ---
The parameter pack can only be deduced if it is in last position (that's an
arbitrary restriction, but it is in C++11). However, you can still do:
weeble(123,456,789,3.1416);