摘要: 转载自http://blog.csdn.net/olddiver/archive/2009/03/31/4038512.aspx在清闲之余,在此与大家探讨一下,C++/CLI中的资源清理。本文将分成三部分,他们分别是引言、Destructor,Finalizer的语法表示、如何保证Destructor,Finalizer与其他语言兼容。 一、 引言 资源是一个很大的范畴,先让我确定一下我们这里谈论... 阅读全文
posted @ 2010-08-07 16:24 lianghugg 阅读(822) 评论(0) 推荐(0)
摘要: 原文地址http://weblogs.thinktecture.com/cnagel/2006/04/ccli-finalize-and-dispose.htmlC++/CLI has a great syntax for dealing with resources. The syntax of C++/CLI is simpler than C#.To implement the interf... 阅读全文
posted @ 2010-08-07 16:20 lianghugg 阅读(656) 评论(1) 推荐(0)