[Bug c++/16915] unnecessary copy construction

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sat Aug 7 21:40:00 GMT 2004


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-07 21:40 -------
Invalid as "operator lock_<mutex>" returns a temporary so the lock_base l(temp) requires that the 
copy constructor to be accessible.

Read <http://gcc.gnu.org/gcc-3.4/changes.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list