This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51805] Invalid list-initialization accepted
- From: "schaub.johannes at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 09 Jan 2012 22:53:42 +0000
- Subject: [Bug c++/51805] Invalid list-initialization accepted
- Auto-submitted: auto-generated
- References: <bug-51805-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51805
Johannes Schaub <schaub.johannes at googlemail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Johannes Schaub <schaub.johannes at googlemail dot com> 2012-01-09 22:53:42 UTC ---
Yes I *was* missing something. The initializer list constructor can accept "{1,
2, 3}" - of course it is not absent when overload resolution is done again
after initially not being able to accept "{{1, 2, 3}}" as a whole.
Closing as "invalid"...