开发者

Identifying overloaded operators in Visual Studio (c++)

开发者 https://www.devze.com 2022-12-22 05:25 出处:网络
Is there any way to quickly visually identify overloaded operators in c++ using Visual Studio? One of the big gotchas IMO in c++ is not knowing that the operator you are using is overloaded.

Is there any way to quickly visually identify overloaded operators in c++ using Visual Studio?

One of the big gotchas IMO in c++ is not knowing that the operator you are using is overloaded.

Is there something within Visual Studio or some third party tool which will automatically highlight or color-code ov开发者_高级运维erloaded operators?


I don't know if there is a tool for this special use case, but for all sorts of anhanced syntax highlithing, refactoring and so on there is Visual Assist X, an add-in for Visual Studio.


AFAIK, Visual Assist really does a lot of enchanced syntax highlighting, but does not highlight overloaded operators. Correct me if I'm wrong.

If you need to do much code exploring, I suggest doing it in Eclipse+CDT. Among many other useful features it also highlights overloaded operators.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号