Главная
Study mode:
on
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
Description:
Explore a comprehensive lecture from the code::dive 2016 conference focusing on std::shared_ptr in C++. Delve into the intricacies of C++ standard library smart pointers, RAII principles, and resource ownership. Examine problem statements, usage examples, and potential pitfalls of std::shared_ptr. Investigate thread safety considerations, mandatory synchronization, and idealistic implementations. Learn about custom deleters, allocator interfaces, type erasure, and Empty Base Optimization. Gain insights into the design overview, advantages of separate pointers, and the aliasing constructor. Enhance your understanding of C++ memory management and smart pointer usage through this in-depth presentation.

std - shared_ptr - T

code::dive conference
Add to list