Sugar13
New Member
2 Posts |
Posted - Jan 19 2016 : 8:54:30 PM
|
an example C++ code here: struct a { struct b { int c; } x[2][2]; }; struct a n; a::b &p = n.x[0][0]; auto &q = n.x[0][0];
when i entering p and dot, this is ok. p. will not be converted.
but when i entering q and dot, this will generate an incorrect convert�� q. will convert to q->
in the code, p and q are the same thing, so i think dot after q should not be converted. |
|