[Bug c++/61655] New: Copy constructor not called on CRTP schema

2014-06-30 Thread fabien.picarou...@univ-nantes.fr
++ Assignee: unassigned at gcc dot gnu.org Reporter: fabien.picarou...@univ-nantes.fr Created attachment 33033 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=33033&action=edit Illustration of the problem When using a CRTP pattern on a class and returning an object

[Bug c++/61655] Copy constructor not called on CRTP schema

2014-06-30 Thread fabien.picarou...@univ-nantes.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61655 --- Comment #3 from Fabien Picarougne --- This code is minimal and is just here to illustrate the problem, I use a more complex one to handle generic matrix. But The copy constructor here is not neutral, there is an output on stdout. So I think,