摘要:
在meffc++中第28 Smart pointers中,提出如何Testing Smart Pointers for Nullness ,文中指出了为了支持 if (ptn == 0) ,if(ptn!=0), if (ptn) ,if (!ptn),所做的处理,这里,总结下以下各种处理 1.operator bool() {...} 2.operator const void*() {...... 阅读全文
posted @ 2010-10-14 01:00
skyrun
阅读(2579)
评论(0)
推荐(0)
2010年10月14日