initialize repository of design pattern template
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#include "prototype.hpp"
|
||||
|
||||
ConcretePrototype::ConcretePrototype(const ConcretePrototype& c)
|
||||
{
|
||||
cout << "ConcretePrototype copy construct!" << endl;
|
||||
}
|
||||
|
||||
Prototype* ConcretePrototype::Clone()
|
||||
{
|
||||
return new ConcretePrototype(*this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user