This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/53223] [c++0x] auto&& and operator* don't mix inside templates


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)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]