This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/16915] unnecessary copy construction
- From: "boris at kolpackov dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Aug 2004 15:45:15 -0000
- Subject: [Bug c++/16915] unnecessary copy construction
- References: <20040807183433.16915.boris@kolpackov.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From boris at kolpackov dot net 2004-08-09 15:45 -------
> lock::lock(const lock&) tries to use the copy constructor
> of the base class, but that is inaccessible.
Have you read the code?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16915