Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用带有 Resharper C++ 的 VS 2012。
有没有办法查看可以覆盖的基类的成员函数,然后在头文件/源文件中生成适当的代码?
是的,有 - 您可以对派生类的名称使用“生成覆盖成员”上下文操作,或者从其中调用“覆盖成员”生成代码操作。插入覆盖函数的声明后,您可以调用“通过声明生成定义”上下文操作来添加定义。