[Bug c++/53223] [c++0x] auto&& and operator* don't mix inside templates
paolo.carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Thu May 3 23:58:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53223
--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> 2012-05-03 23:57:59 UTC ---
If we compare lines #12 and #13, there are subtle differences inside
reference_binding (called by initialize_reference, which produces the error):
for line #12, which is accepted, TYPE_REF_IS_RVALUE (rto) is true; for line #13
is false (thus reference_binding early returns NULL, no success)
More information about the Gcc-bugs
mailing list