This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49205] Default constructor with pack expansion parameter not detected
- From: "coppro at users dot sourceforge.net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 28 May 2011 00:58:45 +0000
- Subject: [Bug c++/49205] Default constructor with pack expansion parameter not detected
- Auto-submitted: auto-generated
- References: <bug-49205-4@http.gcc.gnu.org/bugzilla/>
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.