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++/51805] Invalid list-initialization accepted


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"...


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