[Bug c++/58527] Failures when a function parameter pack is not final
nmm1 at cam dot ac.uk
gcc-bugzilla@gcc.gnu.org
Wed Sep 25 11:53:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58527
--- Comment #2 from Nick Maclaren <nmm1 at cam dot ac.uk> ---
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
possibilities, of course.
I would be interested in a reference to the wording in the standard,
if you know it offhand. I failed to find it.
But that doesn't address the other point. Even if C++ allows a parameter
pack in a position where it cannot be deduced (and that would not be at
all surprising), good practice would be to give at least a warning. And
I did specify -Wall -Wextra :-)
More information about the Gcc-bugs
mailing list