[Bug c++/52683] assignment operator not detected
daniel.kruegler at googlemail dot com
gcc-bugzilla@gcc.gnu.org
Fri Mar 23 20:00:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52683
--- Comment #6 from Daniel Krügler <daniel.kruegler at googlemail dot com> 2012-03-23 19:41:03 UTC ---
(In reply to comment #4)
> > static_assert( is_assignable<int&,int&&>::value, "not assignable" ); // pass
>
> This works because this corresponds to assigning an int rvalue to an int.
" This works because this corresponds to assigning an int rvalue to an int
lvalue."
More information about the Gcc-bugs
mailing list