如何释放绳子 [英] how to free a wstring

查看:179
本文介绍了如何释放绳子的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个COM服务器,其中im使用wstring
im处理完后,是否有一种释放wstring的方法.

I have a COM server in which im using wstring
Is there a way to free the wstring after im done with it.

推荐答案

我发现了有关wstring内存问题的这篇文章.您可能会发现它很有帮助.
http://www.arduino.cc/cgi-bin/yabb2/YaBB. pl?num = 1241618944/12 [ ^ ]
I found this article on wstring memory issue. You may find it helpful.
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1241618944/12[^]


您还没有:wstring会在超出范围时释放内存.
You haven''t: wstring releases memory whenever goes out of scope.


这篇关于如何释放绳子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆