Completed
WHY DO WE USE C++?
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
std - shared_ptr - T
Automatically move to the next video in the Classroom when playback concludes
- 1 Intro
- 2 WHY DO WE USE C++?
- 3 C++ STANDARD LIBRARY SMART POINTERS
- 4 RAII (RESOURCE ACQUISITION IS INITIALIZATION)
- 5 RESOURCE OWNERSHIP
- 6 PROBLEM STATEMENT
- 7 SIMPLE USAGE EXAMPLE
- 8 std::shared_ptr - INCORRECT APPROACH
- 9 std::shared_ptr - IDEALISTIC APPROACH
- 10 IS std::shared_ptr THREAD-SAFE?
- 11 MANDATORY SYNCHRONIZATION
- 12 IDEALISTIC IMPLEMENTATION
- 13 HERB SUTTER'S FAVORITE C++ 10-LINER
- 14 std::shared_ptr CONSTRUCTION
- 15 CUSTOM DELETER INTERFACE
- 16 CUSTOM ALLOCATOR INTERFACE
- 17 ALLOCATOR TRAITS
- 18 TYPE ERASURE
- 19 EMPTY BASE OPTIMIZATION (EBO)
- 20 DESIGN OVERVIEW
- 21 ADVANTAGES OF HAVING 2 SEPARATE POINTERS
- 22 ALIASING CONSTRUCTOR