This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49122] [C++0x] initializer_list is broken
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 23 May 2011 17:08:31 +0000
- Subject: [Bug c++/49122] [C++0x] initializer_list is broken
- Auto-submitted: auto-generated
- References: <bug-49122-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49122
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-05-23 16:44:22 UTC ---
There's a note in [support.initlist] which says:
"Copying an initializer list does not copy the underlying elements."
However there was some discussion on the core reflector last month pointing out
that other requirements are inconsistent with that.