[Bug c++/18975] [4.0 regression] Copying objects with mutable non-static data members

nathan at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Dec 21 17:27:00 GMT 2004


------- Additional Comments From nathan at gcc dot gnu dot org  2004-12-21 17:27 -------
2004-12-21  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.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18975



More information about the Gcc-bugs mailing list