c++/3629: nested template constructor doesn't get used as copy constructor

Gabriel Dos Reis Gabriel.Dos-Reis@cmla.ens-cachan.fr
Mon Jul 9 14:16:00 GMT 2001


The following reply was made to PR c++/3629; it has been noted by GNATS.

From: Gabriel Dos Reis <Gabriel.Dos-Reis@cmla.ens-cachan.fr>
To: "Paul J. Lucas" <pauljlucas@mac.com>
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" <pauljlucas@mac.com> 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



More information about the Gcc-prs mailing list