[Bug c++/56568] std::initializer_list return value contents lost prematurely

2015-09-03 Thread fuzzyTew at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56568 --- Comment #4 from fuzzyTew at gmail dot com --- I'm not as experienced in the details. I think perhaps my example is invalid as you state but the original testcase is not (see &&).

[Bug c++/56568] std::initializer_list return value contents lost prematurely

2015-09-03 Thread fuzzyTew at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56568 --- Comment #3 from fuzzyTew at gmail dot com --- The definition of initializer_list is that the array backing it contains copies of the listed values and has the same lifetime as the list itself. If the return value is bound into the object

[Bug c++/56568] std::initializer_list return value contents lost prematurely

2015-09-03 Thread fuzzyTew at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56568 fuzzyTew at gmail dot com changed: What|Removed |Added CC||fuzzyTew at gmail dot com