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

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
主站蜘蛛池模板: 宜阳县| 津市市| 青铜峡市| 皋兰县| 辉南县| 三门峡市| 扎赉特旗| 县级市| 盖州市| 泰安市| 赤壁市| 临沂市| 来安县| 福海县| 浠水县| 大宁县| 洱源县| 泗阳县| 滕州市| 克什克腾旗| 兰西县| 汶上县| 老河口市| 长岛县| 河东区| 长岛县| 鹤壁市| 宝兴县| 扎鲁特旗| 岐山县| 金山区| 灵武市| 静宁县| 民丰县| 中江县| 雷州市| 肥乡县| 大同市| 龙门县| 大庆市| 招远市|