[Bug c++/49205] Default constructor with pack expansion parameter not detected
coppro at users dot sourceforge.net
gcc-bugzilla@gcc.gnu.org
Sat May 28 01:46:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49205
Sean Hunt <coppro at users dot sourceforge.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |coppro at users dot
| |sourceforge.net
--- Comment #1 from Sean Hunt <coppro at users dot sourceforge.net> 2011-05-28 00:58:28 UTC ---
While this behavior is erroneous, consensus at clang was that WG21 made an
oversight in allowing this. Template constructors are banned from being copy or
move constructors, and historically this prohibition was not necessary for
default constructors since there was no special handling of them except when
implicit.
More information about the Gcc-bugs
mailing list