The C++ Programming Language C++ Exceptions and RAII - C++ Safety part 5 of n | Modern Cpp Series Ep. 238
C++ Exceptions and RAII - C++ Safety part 5 of n | Modern Cpp Series Ep. 238 Transcript and Lesson Notes
►Full C++ Series Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd8j-tlhYVPYgiIyXduu6m-L ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: https://www.youtube.com/channel
Quick Summary
►Full C++ Series Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd8j-tlhYVPYgiIyXduu6m-L ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: https://www.youtube.com/channel
Key Takeaways
- Review the core idea: ►Full C++ Series Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd8j-tlhYVPYgiIyXduu6m-L ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: https://www.youtube.com/channel
- Understand how cpp fits into C++ Exceptions and RAII - C++ Safety part 5 of n | Modern Cpp Series Ep. 238.
- Understand how c++ fits into C++ Exceptions and RAII - C++ Safety part 5 of n | Modern Cpp Series Ep. 238.
- Understand how C++ Programming Language fits into C++ Exceptions and RAII - C++ Safety part 5 of n | Modern Cpp Series Ep. 238.
Key Concepts
Full Transcript
►Full C++ Series Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd8j-tlhYVPYgiIyXduu6m-L ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: https://www.youtube.com/channel/UCA64pZbN5Mz5NxC3SO4qpDg/join ►Discussion Forum: https://forum.mshah.io/ ►Lesson Description: In this lesson I discuss how RAII interacts with exceptions. Constructors area allowed to 'throw' but destructors should not throw. In part, this has to do with how the 'unwinding' works. We'll look in this example at following the control flow of try/catch blocks and also how I like to structure my programs from main() with a try/catch block. Finally, I'll show a few examples of where memory leaks can occur with an example of a RAII data type and the valgrind tool. As always, feel free to bring up any questions and discuss what you've learned! A video on the stack: youtube.com/watch?v=sXFVaRtobYU&pp=ygUPbWlrZSBzaGFoIHN0YWNr2AajAQ%3D%3D ►YouTube Channel: https://www.youtube.com/c/MikeShah ►Please like and subscribe to help the channel! ►Join our free community: https://courses.mshah.io/communities/Q29tbXVuaXR5LTI3MzAz
Lesson FAQs
What is C++ Exceptions and RAII - C++ Safety part 5 of n | Modern Cpp Series Ep. 238 about?
►Full C++ Series Playlist: https://www.youtube.com/playlist?list=PLvv0ScY6vfd8j-tlhYVPYgiIyXduu6m-L ►Find full courses on: https://courses.mshah.io/ ►Join as Member to Support the channel: https://www.youtube.com/channel
What key concepts are covered in this lesson?
The lesson covers cpp, c++, C++ Programming Language.
What should I learn before C++ Exceptions and RAII - C++ Safety part 5 of n | Modern Cpp Series Ep. 238?
Review the previous lessons in The C++ Programming Language, then use the transcript and key concepts on this page to fill any gaps.
How can I practice after this lesson?
Practice by applying the main concepts: cpp, c++, C++ Programming Language.
Does this lesson include a transcript?
Yes. The full transcript is visible on this page in indexable HTML sections.
Is this lesson free?
Yes. CourseHive lessons and courses are available to learn online for free.
