11 lines
121 B
C
11 lines
121 B
C
|
class A {
|
||
|
public:
|
||
|
virtual void foo();
|
||
|
virtual void bar();
|
||
|
};
|
||
|
|
||
|
class B : public A {
|
||
|
public:
|
||
|
void foo() override;
|
||
|
};
|