[Bug c++/56836] Template delegating constructor not calling target constructor

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

[Bug c++/56836] Template delegating constructor not calling target constructor

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

[Bug c++/56836] Template delegating constructor not calling target constructor

2013-04-03 Thread rob.desbois at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56836 --- Comment #3 from rob.desbois at gmail dot com 2013-04-03 21:30:31 UTC --- Agh you're right Andrew. Not the first time that rule has caught me out.

[Bug c++/56836] Template delegating constructor not calling target constructor

2013-04-03 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56836 --- Comment #2 from Paolo Carlini 2013-04-03 20:58:22 UTC --- Not having analyzed the testcase in any detail, apparently clang++ behaves exactly like GCC.

[Bug c++/56836] Template delegating constructor not calling target constructor

2013-04-03 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56836 --- Comment #1 from Andrew Pinski 2013-04-03 20:53:00 UTC --- I think: : foo( const_cast< const foo& >(f) ) calls the copy constructor which templates can never be a copy constructor.