What's the meaning of ^ in VS2005.NET
-
Hi all: I am really confused about the meaning of ^ in VS2005. I see many programs declared as something like: String^ xxx; MyClass^ yyy; Can anyone explain it to me please? Thanks very much!!!
Asura
this is the new C++/CLI format for managed pointer, or reference (I think). Ask in the "C++/CLI" forum for a better answer.
Maximilien Lincourt Your Head A Splode - Strong Bad
-
Hi all: I am really confused about the meaning of ^ in VS2005. I see many programs declared as something like: String^ xxx; MyClass^ yyy; Can anyone explain it to me please? Thanks very much!!!
Asura
It represents a handle.It shows a handle to managed object.Poniters are with * but handles with ^.If you use of pointers then you must use of delete else you will have a leak but for handles its optionly.
WhiteSky
-
It represents a handle.It shows a handle to managed object.Poniters are with * but handles with ^.If you use of pointers then you must use of delete else you will have a leak but for handles its optionly.
WhiteSky