This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18975] Copying objects with mutable non-static data members
- From: "nathan at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Dec 2004 16:10:53 -0000
- Subject: [Bug c++/18975] Copying objects with mutable non-static data members
- References: <20041214071926.18975.wolfgang.roehrl@de.gi-de.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From nathan at gcc dot gnu dot org 2004-12-17 16:10 -------
Fix for 3.4 branch
2004-12-17 Nathan Sidwell <nathan@codesourcery.com>
PR c++/18975
* method.c (do_build_copy_constructor): Refactor. Don't const
qualify a mutable field.
(do_build_assign_ref): Likewise.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18975