This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/46004] [C++0x] template constructor used to copy object
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 13 Oct 2010 13:10:27 +0000
- Subject: [Bug c++/46004] [C++0x] template constructor used to copy object
- Auto-submitted: auto-generated
- References: <bug-46004-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46004
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
--- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2010-10-13 13:10:20 UTC ---
That passage is poorly worded, leading to frequent misinterpretation. What it
means is that a template will never be instantiated to provide the signature
B(B); it can still be instantiated to provide B(B&), as in this example.