Пример #1
0
 void Operation()
 {
   Prototype * p = _prototype->Clone();
   cout << "Using " << p->getType() << " created from prototype." << endl;
 }
Пример #2
0
 Prototype(const Prototype& other) { setType(other.getType()); }