This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/22632] GCC won't produce assignment operator warnings
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Sep 2005 15:25:55 -0000
- Subject: [Bug c++/22632] GCC won't produce assignment operator warnings
- References: <20050723190508.22632.tron.thomas@verizon.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2005-09-14 15:25 -------
I don't see the problem either. You should simply mark the argument to
the constructor as const so that temporaries can be bound to it.
W.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22632