From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gabriel Dos Reis To: gdr@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org Subject: Re: c++/3629: nested template constructor doesn't get used as copy constructor Date: Mon, 09 Jul 2001 14:16:00 -0000 Message-id: <20010709211602.22295.qmail@sourceware.cygnus.com> X-SW-Source: 2001-07/msg00249.html List-Id: The following reply was made to PR c++/3629; it has been noted by GNATS. From: Gabriel Dos Reis To: "Paul J. Lucas" Cc: gcc-gnats@gcc.gnu.org Subject: Re: c++/3629: nested template constructor doesn't get used as copy constructor Date: 09 Jul 2001 23:13:30 +0200 "Paul J. Lucas" writes: | A used-defined template copy constructor inside a template class | doesn't get used to generate a copy constructor when the types equal. That is a C++ conformant behaviour: A copy constructor cannot be generated from a template constructor. So Not a Bug. -- Gaby