Skip to content
0:00 / 0:00

#smartpointers#unique_ptr#shared_ptr

C++ 3D Game Tutorial 16: Creating 3D Engine - Smart Pointers

PardCode

15K subscribers • 13 videos on Hallway

YouTube
  • Recommended by 1 person: 1 in engineering communities.

Intermediate. Assumes working knowledge.

10K views6 years ago1 recommendation

Programming languagesSoftware designC++Memory managementDesign patterns

How to use unique and shared smart pointers to manage memory and improve singleton designs in C++.

[IMPORTANT]: NEW VERSION (2025) of C++ 3D Game Tutorial Series available here: youtube.com/watch?v=XeLyqELshHM&list=PLv8DnRaQOs5-ST_VDqgbbM… This video is part of the previous series. Videos from that version feature an exclamation point icon in the top-right corner of their thumbnails, which should help distinguish them from the new ones. SUPPORT ON PATREON: patreon.com/pardcode DISCORD SERVER: discord.gg/RymBzwKPyZ DESCRIPTION: Hello everyone! In this sixteenth video tutorial we will talk about Smart Pointers. in particular we will talk about what are and how to use different types of smart pointers, like unique and shared pointers, and how to improve the design of our singletons. ENTIRE TUTORIAL SERIES: youtube.com/playlist?list=PLv8DnRaQOs5-ST_VDqgbbMRtzMtpK36Hy I hope you'll enjoy this tutorial! ---------------------------------------------------------------------------- PATREON PAGE: patreon.com/pardcode TWITTER PAGE: twitter.com/PardCode

Why it's here

1 person recommends this

What people say. Part of a C++ game engine tutorial series, explaining memory management with smart pointers.

u/PardDevin r/GraphicsProgramming • Recommends

3D Game Tutorial in C++ from scratch: Part 16 - Creating 3D Engine - Smart Pointers - SourceCode on GitHub