You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
435 B
29 lines
435 B
4 years ago
|
#pragma once
|
||
|
#include "Theodosius.h"
|
||
|
|
||
|
class VirtualFuncDemo
|
||
|
{
|
||
|
public:
|
||
|
MutateRoutine
|
||
|
explicit VirtualFuncDemo();
|
||
|
virtual ~VirtualFuncDemo();
|
||
|
virtual void PrintTest();
|
||
|
};
|
||
|
|
||
|
class Demo : public VirtualFuncDemo
|
||
|
{
|
||
|
public:
|
||
|
MutateRoutine
|
||
|
explicit Demo();
|
||
|
~Demo() override;
|
||
|
void PrintTest() override;
|
||
|
};
|
||
|
|
||
|
class Demo2 : public VirtualFuncDemo
|
||
|
{
|
||
|
public:
|
||
|
MutateRoutine
|
||
|
explicit Demo2();
|
||
|
~Demo2() override;
|
||
|
void PrintTest() override;
|
||
|
};
|