Use of ^ operator in visual c++

心已入冬 提交于 2019-12-05 06:08:33
Ceramic Pot

The circumflex accent means that the object is a managed pointer,it'll be automatically collected by the Garbage Collector - you don't need to do this implicitly. Please take a look at this article to understand how arrays work in C++/CLI.

In your case:

array<String^> ^abc;

And is this substitution limited only to CLR applications?

Yes.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!