Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 incorrect convert dot to -> (in VS2012)

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
Sugar13 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.
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Jan 21 2016 : 1:44:23 PM
I am seeing the same problem here. Thank you for the sample code.

case=94603

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000