13 lines
231 B
C++
13 lines
231 B
C++
#include "prototype.hpp"
|
|
|
|
ConcretePrototype::ConcretePrototype(const ConcretePrototype& c)
|
|
{
|
|
cout << "ConcretePrototype copy construct!" << endl;
|
|
}
|
|
|
|
Prototype* ConcretePrototype::Clone()
|
|
{
|
|
return new ConcretePrototype(*this);
|
|
}
|
|
|