[Bug c++/56976] using braces to initialize a reference forces copy construction

2015-03-24 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56976 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/56976] using braces to initialize a reference forces copy construction

2013-05-15 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56976 Paolo Carlini changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #4 f

[Bug c++/56976] using braces to initialize a reference forces copy construction

2013-05-15 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56976 --- Comment #3 from Daniel Krügler --- (In reply to Akim Demaille from comment #2) You are right, I misread your code example in the haste. I agree that this is not related to CWG 1604 (we have no mixed case) and I think it is clear that both init

[Bug c++/56976] using braces to initialize a reference forces copy construction

2013-05-15 Thread akim.demaille at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56976 --- Comment #2 from Akim Demaille --- Maybe I don't know, even after having read several times the section you pointed me to. In particular I see nothing there which could explain why using foo() instead of foo{} would give different results. FW

[Bug c++/56976] using braces to initialize a reference forces copy construction

2013-04-25 Thread daniel.kruegler at googlemail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56976 Daniel Krügler changed: What|Removed |Added CC||daniel.kruegler at |