[Bug c++/63506] GCC deduces wrong return type of operator*() inside template functions

steffen.muething at iwr dot uni-heidelberg.de gcc-bugzilla@gcc.gnu.org
Fri Oct 10 14:03:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63506

--- Comment #1 from Steffen Müthing <steffen.muething at iwr dot uni-heidelberg.de> ---
I forgot to mention: This problem is specific to operator*(). If you add an
equivalent normal member function and replace the dereferencing operations with
calls to that function, the problem does not occur.


More information about the Gcc-bugs mailing list