简体   繁体   English

强制eclipse为派生类中的纯虚函数实现提供存根

[英]Forcing eclipse to provide stubs for implementation of pure virtual functions in a derived class

The use case in Eclipse: Eclipse中的用例:

C++ code as follows: C ++代码如下:

Create a new class Bar that inherits from class Foo 创建一个继承自Foo类的新Bar类

Class Foo has pure virtual functions. Foo类具有纯虚函数。

Is there a way to force Eclipse to create stubs for the implementation of those pure virtual functions in the newly created derived class? 有没有一种方法可以强迫Eclipse为新创建的派生类中的那些纯虚函数的实现创建存根?

请密切注意https://bugs.eclipse.org/bugs/show_bug.cgi?id=303870 ,或者帮助他们实施。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM