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

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
主站蜘蛛池模板: 长治县| 汉阴县| 双峰县| 合肥市| 汝阳县| 宣化县| 松桃| 清河县| 崇义县| 西吉县| 灵丘县| 澄迈县| 师宗县| 浮梁县| 郎溪县| 灌云县| 桦南县| 庄河市| 朝阳区| 林西县| 芮城县| 永吉县| 蓬莱市| 稷山县| 边坝县| 铜山县| 巢湖市| 邳州市| 龙泉市| 五河县| 遵义县| 邵武市| 平乡县| 甘孜县| 广安市| 宁蒗| 陆河县| 横山县| 喜德县| 肇庆市| 娄烦县|