[Bug c++/37043] fails to find operator match when constructing object on the fly

schwab at suse dot de gcc-bugzilla@gcc.gnu.org
Thu Aug 7 15:21:00 GMT 2008



------- Comment #4 from schwab at suse dot de  2008-08-07 15:19 -------
Because the result of FooBar("two") is an rvalue, but test1 is an lvalue.


-- 

schwab at suse dot de changed:

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


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



More information about the Gcc-bugs mailing list