Difference between revisions of "Intermediate C++ Game Programming Tutorial 22"
From Chilipedia
(Created page with "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++ Programme...") |
|||
Line 1: | Line 1: | ||
− | 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 | + | 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. |
== Topics Covered == | == Topics Covered == |
Revision as of 01:12, 28 January 2018
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.
Topics Covered
- Basic exception
try
ingthrow
ing andcatch
ing - Exceptions 'bubbling up'
- Rethrowing with
throw
-
std::exception
and its derivatives - Polymorphism in exception handling
-
catch(...)
- Throw by value, catch by
const
reference - Exceptions and destructors
-
noexcept
and move constuctors vs. standard containers
Video Timestamp Index
- Tutorial 22 Part 1
- Tutorial 22 Part 2 COMING SOON!