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

 All Forums
 Visual Assist
 Feature Requests
 Find Reference - distinguish const / non const
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ketchup Master

51 Posts

Posted - Jun 27 2019 :  09:01:09 AM  Show Profile  Reply with Quote
In the VA Find Reference Result, when it's done on a variable, the "write references" are displayed with a small yellow square to see them quickly when they are modified / assigned.

I would like a similar feature: to distinguish calls of const and non-const function on a variable to see when it's potentially modified.

As an example, I'm searching references on a std::vector, I would like to quickly see (via a square of a different color) the references where the vector can mutate (push_back(), clear(), ...) => non-const methods, as opposed to references where the vector won't mutate (size(), empty(), ...) => const methods.

Whole Tomato Software

United Kingdom
3279 Posts

Posted - Jun 29 2019 :  01:18:59 AM  Show Profile  Reply with Quote
We're considering implementing this:

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