[Interest] memory fragmentation?

BRM bm_witness at yahoo.com
Wed Aug 22 22:21:30 CEST 2012


> From: Jason H <scorp1us at yahoo.com>

>C++ on .NET functions as it does now, however the compiler introduces the operator of ^ as a type modifier like * (pointer)
>^ are handles to managed objects, as * are addresses of objects. The runtime then handles dereferencing the handles for you. jsut like your compiler uses the appropriate instructions with a pointer.


By which you mean C++/CLI, not strictly C++. You can mix the two with a .NET environment, and native C++ doesn't support the ^ operator. For that matter you can use 'new' instead of 'gcnew' as well, and now you have a mixture of what's being managed and what is not.


$0.02

Ben




More information about the Interest mailing list