Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
Learn C/C++ programming
·
Module 9
Modern C++: Resource Management and Generic Programming
1
Understanding RAII
Explain the RAII (Resource Acquisition Is Initialization) principle
2
`std::unique_ptr`: Exclusive Resource Ownership
Use std::unique_ptr for exclusive, automatic resource management
3
Shared Ownership with `std::shared_ptr`
Use std::shared_ptr for shared ownership of resources
4
Understanding `std::move` and Rvalue References
Explain move semantics (rvalue references) and the purpose of std::move
5
Function Templates for Generic Functions
Write function templates to create generic functions
6
Generic Data Structures with Class Templates
Write class templates to create generic data structures
7
Lambda Expressions with STL Algorithms
Use lambda expressions as anonymous functions, especially with STL algorithms
Previous module
Inheritance and Polymorphism in C++
Next module
C++ Error Handling and Build Systems