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++/24847] Instantiates un-called copy constructor



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


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