This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/56836] Template delegating constructor not calling target constructor
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 03 Apr 2013 22:15:49 +0000
- Subject: [Bug c++/56836] Template delegating constructor not calling target constructor
- Auto-submitted: auto-generated
- References: <bug-56836-4 at http dot gcc dot gnu dot org/bugzilla/>
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).