This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24847] Instantiates un-called copy constructor
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Nov 2005 19:32:25 -0000
- Subject: [Bug c++/24847] Instantiates un-called copy constructor
- References: <bug-24847-6594@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-14 19:32 -------
Comeau also rejects this. I don't understand why we are trying to instantiate
foo<int, 5, b>::foo(foo<int, 0, b>) except to try to match the constructor, so
maybe this is invalid after all. Some one else really needs to look at this.
A weird testcase at best.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24847