[Bug c++/15172] Copy constructor optimization in aggregate initialization

2004-10-16 Thread bangerth at dealii dot org
--- Additional Comments From bangerth at dealii dot org 2004-10-16 23:28 --- Something is definitely wrong with this testcase. I think that storing and printing the _this pointer is only obstructing the view of the problem somehow, so consider this example here: i

[Bug c++/15172] Copy constructor optimization in aggregate initialization

2004-10-16 Thread acehreli at yahoo dot com
--- Additional Comments From acehreli at yahoo dot com 2004-10-16 22:57 --- I don't think the paragraphs from the standard that are mentioned above are completely relevant. There isn't an opportunity for optimization in this case. This is aggregate initialization. I found the following