摘要: 摘要:ANSI C++ 中的 Singleton 实现说难不难,说容易也不容易,很多人写 ANSI C++ 的 Singleton class 都有错误。这篇文章讨论怎样在 ANSI c++ 中写 Singleton class, 希望对大家有帮助。 《设计模式》中把 Singleton 写成返回指针: cla... 阅读全文
posted @ 2008-11-16 18:28 AlexusLi 阅读(516) 评论(0) 推荐(0) 编辑