[Bug c++/51805] Invalid list-initialization accepted
schaub.johannes at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Mon Jan 9 22:54:00 GMT 2012
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"...
More information about the Gcc-bugs
mailing list