This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]