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

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
主站蜘蛛池模板: 霞浦县| 沿河| 南城县| 卫辉市| 阿拉善右旗| 东港市| 乌鲁木齐市| 武定县| 宝丰县| 道真| 闽清县| 彭州市| 萨迦县| 吉安市| 大化| 武鸣县| 池州市| 西林县| 大悟县| 阳朔县| 湘西| 梁河县| 麻栗坡县| 台南市| 喀喇| 赤城县| 大城县| 固原市| 黄大仙区| 鹤庆县| 隆安县| 内江市| 富阳市| 图们市| 永寿县| 灵武市| 博白县| 电白县| 海门市| 彩票| 新乐市|