有什么方法可以使用 Visual Studio 快速直观地识别 c++ 中的重载运算符?
Is there any way to quickly visually identify overloaded operators in c++ using Visual Studio?
C++ 中 IMO 的一大问题是不知道您使用的运算符已重载.
One of the big gotchas IMO in c++ is not knowing that the operator you are using is overloaded.
Visual Studio 或某些第三方工具中是否有可以自动突出显示或颜色代码重载运算符的功能?
Is there something within Visual Studio or some third party tool which will automatically highlight or color-code overloaded operators?
推荐答案AFAIK,Visual Assist 确实做了很多增强的语法突出显示,但没有突出显示重载的运算符.如果我错了,请纠正我.
AFAIK, Visual Assist really does a lot of enchanced syntax highlighting, but does not highlight overloaded operators. Correct me if I'm wrong.
如果你需要做大量的代码探索,我建议在 Eclipse+CDT 中进行.在许多其他有用的功能中,它还突出了重载运算符.
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.
更多推荐
在 Visual Studio (c++) 中识别重载运算符
发布评论