[Bug c++/27356] Right read operator not accessible after overloading.
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Apr 29 16:13:00 GMT 2006
------- Comment #1 from pinskia at gcc dot gnu dot org 2006-04-29 16:13 -------
Try:
Array a;
const Array &b = a;
a[ 0 ] = true;
a[ 1 ] = b[ 0 ];
But this is invalid, a[0] is always an lvalue.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27356
More information about the Gcc-bugs
mailing list