[Bug c++/56032] Uniform initialization of references

2013-01-18 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56032 --- Comment #4 from Jonathan Wakely 2013-01-18 16:00:15 UTC --- (In reply to comment #3) > I added a new report because 50025 is about a compilation error, and with gcc > 4.7 the code compiles, but fails to work as expected, but probably t

[Bug c++/56032] Uniform initialization of references

2013-01-18 Thread xazax.hun at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56032 --- Comment #3 from Gábor Horváth 2013-01-18 15:39:08 UTC --- (In reply to comment #2) > (In reply to comment #0) > > I guess the origin of this problem is the incomplete fix of the error above. > > There is no fix, PR 50025 is still open and t

[Bug c++/56032] Uniform initialization of references

2013-01-18 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56032 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c++/56032] Uniform initialization of references

2013-01-18 Thread xazax.hun at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56032 --- Comment #1 from Gábor Horváth 2013-01-18 15:01:45 UTC --- (In reply to comment #0) > Consider the following code: > > // CODE -- > > #include > #include > > > class S { > public: > S(const std::vector& v_) : v{v_} {} >