This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49205] Default constructor with pack expansion parameter not detected


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]