c++实现原型模式完整源代码 PrototypePattern.hpp main.cpp PrototypePattern.hpp #ifndef __PROTOTYPE_PATTERN__ #define __PROTOTYPE_PATTERN__ #include <iostream> #