[Bug c++/31419] template user defined conversion operator instantiated for conversion to self

fang at csl dot cornell dot edu gcc-bugzilla@gcc.gnu.org
Sun Apr 1 14:39:00 GMT 2007



------- Comment #1 from fang at csl dot cornell dot edu  2007-04-01 15:38 -------
Aside, it looks to me as if operator () returns a reference (const) to a
temporary, which is undefined, no?  


-- 

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=31419



More information about the Gcc-bugs mailing list