YoVDO

Smart Pointers in C++ for Beginners

Offered By: CodeBeauty via YouTube

Tags

Smart Pointers Courses C++ Courses Memory Management Courses

Course Description

Overview

Explore smart pointers in C++ through this comprehensive 25-minute tutorial video. Learn about the three types of smart pointers: unique_ptr, shared_ptr, and weak_ptr. Discover how these container wrappers for raw pointers automatically manage memory deallocation when going out of scope. Dive into unique pointers, understanding sharing vs. moving, and automatic memory deallocation. Examine shared pointers and their memory management capabilities. Compare weak pointers to shared pointers, gaining insights into their differences and use cases. Enhance your C++ programming skills with this beginner-friendly guide to smart pointers, complete with practical examples and clear explanations.

Syllabus

- Intro
- What are smart pointers in C++
- Unique pointer in C++
- Sharing vs moving a unique pointer in C++
- Unique pointer automatic memory deallocation
- Shared pointers in C++
- Shared pointer automatic memory deallocation
- Weak pointer vs shared pointer in C++


Taught by

CodeBeauty

Related Courses

Computer Graphics
University of California, San Diego via edX
Intro to Parallel Programming
Nvidia via Udacity
Initiation à la programmation (en C++)
École Polytechnique Fédérale de Lausanne via Coursera
C++ For C Programmers, Part A
University of California, Santa Cruz via Coursera
Introduction à la programmation orientée objet (en C++)
École Polytechnique Fédérale de Lausanne via Coursera