[Bug c++/58527] Failures when a function parameter pack is not final

2013-10-05 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58527 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/58527] Failures when a function parameter pack is not final

2013-09-25 Thread glisse at gcc dot gnu.org
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

[Bug c++/58527] Failures when a function parameter pack is not final

2013-09-25 Thread nmm1 at cam dot ac.uk
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

[Bug c++/58527] Failures when a function parameter pack is not final

2013-09-25 Thread glisse at gcc dot gnu.org
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);