mirror of
https://github.com/Light-City/CPlusPlusThings.git
synced 2026-04-01 17:53:26 +08:00
refine content of abstract
This commit is contained in:
@@ -7,16 +7,12 @@
|
||||
* @date 2019-07-20
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
#include<iostream>
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
||||
class A {
|
||||
public:
|
||||
virtual void f() = 0;
|
||||
virtual void f() = 0; // 纯虚函数
|
||||
void g(){ this->f(); }
|
||||
A(){}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user