[Bug c++/36490] Attempt to copy a temporary object during passing it to a function as a const reference

fang at csl dot cornell dot edu gcc-bugzilla@gcc.gnu.org
Thu Jul 31 07:01:00 GMT 2008



------- Comment #1 from fang at csl dot cornell dot edu  2008-07-31 07:00 -------
See PR 25950 and all of its dupes.  
The copy constructor needs to be publicly accessible where the temporary rvalue
is bound to a reference parameter.  


-- 

fang at csl dot cornell dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fang at csl dot cornell dot
                   |                            |edu


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



More information about the Gcc-bugs mailing list