Intermediate C++ Game Programming Tutorial 22
In this video we learn how to use C++ exceptions to take our error handling to the next level. There is a lot of fear and ignorance surrounding exceptions among "C++ Programmers", and Chili's goal here is to elevate you guys above the shit-tier level to coders who can actually use this feature to its full extent. The second part of this tutorial will give concrete, practical examples of using exceptions in an actual game scenario.
- Basic exception
- Exceptions 'bubbling up'
- Rethrowing with
std::exceptionand its derivatives
- Polymorphism in exception handling
- Throw by value, catch by
- Exceptions and destructors
noexceptand move constuctors vs. standard containers
Video Timestamp Index
I had an interesting exchange with a viewer, and made a bit of a writeup here: essay time.