设计模式——单键模式
2005-06-25 08:30
232 查看
名称 | Singleton |
结构 | // Singleton 2 3// Intent: "Ensure a class only has one instance, and provide a global 4// point of access to it". 5 6// For further information, read "Design Patterns", p127, Gamma et al., 7// Addison-Wesley, ISBN:0-201-63361-2 8 9 20namespace Singleton_DesignPattern 21 相关文章推荐
|