http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56836
Daniel Krügler <daniel.kruegler at googlemail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |daniel.kruegler at | |googlemail dot com --- Comment #4 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2013-04-03 22:15:49 UTC --- I agree with Andrew: In this case the copy-constructor will be called, because the template constructor is not a better match (In C++11 template constructors can be selected for copying objects, but only if they have a better match as selected by overload resolution).