Identifying overloaded operators in Visual Studio (c++)
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.
精彩评论