Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Move Scope functionality in C++11 broken
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

MrDoomMaster
Tomato Guru

251 Posts

Posted - Aug 18 2015 :  09:52:04 AM  Show Profile  Reply with Quote
C++11 introduced brace-or-equal initialization. So consider a class like below:

class foo
{
public:
  int m_member1{};
  bool m_member2{};
};


Both members above are value initialized. However, these are not new scopes. However, because a matching pair of curly braces are present, the Next/Previous scope navigation stops at these variables. They should not stop here, as they are not scopes.

accord
Whole Tomato Software

United Kingdom
3280 Posts

Posted - Aug 18 2015 :  1:30:39 PM  Show Profile  Reply with Quote
I am seeing the same effect here:

case=91459

Thank you for the feedback.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000