官术网_书友最值得收藏!

Chapter 3. Memory Management and Smart Pointers

In this chapter, we are going to cover the following topics:

  • Unmanaged memory – using malloc()/free()
  • Unmanaged memory – using new/delete
  • Managed memory – using NewObject< > and ConstructObject< >
  • Managed memory – deallocating memory
  • Managed memory – smart pointers (TSharedPtr, TWeakPtr, TAutoPtr) to track an object
  • Using TScopedPointer to track an object
  • Unreal's garbage collection system and UPROPERTY()
  • Forcing garbage collection
  • Breakpoints and stepping through code
  • Finding bugs and using call stacks
  • Using the Profiler to identify hot spots
主站蜘蛛池模板: 丹棱县| 开江县| 崇信县| 建宁县| 将乐县| 额尔古纳市| 柘荣县| 鄂温| 叶城县| 宜阳县| 喀喇沁旗| 龙州县| 厦门市| 昌平区| 南岸区| 岱山县| 北京市| 徐州市| 泌阳县| 临潭县| 进贤县| 老河口市| 上高县| 金溪县| 铁力市| 无锡市| 平乡县| 新闻| 顺义区| 丹凤县| 尖扎县| 达州市| 海盐县| 育儿| 图木舒克市| 石泉县| 开阳县| 楚雄市| 乐昌市| 乐东| 尉氏县|