Back to [[conference:committee:2014-proposals]]\\ \\ **Title**: Exception Safety Guarantees in C++\\ **Proposer**: [[2014:Frank Birbacher]]\\ **Type**: Tutorial\\ **Duration**: 90 mins\\ **Description**: \\ When learning programming C++ there is the point where exceptions and try-catch are introduced. The classes I've seen just explain the language syntax around throw and catch, but don't go tell you that your code usually doesn't need try-catch. The talk discusses what the basic, strong and nofail exception safety guarantees are and how to implement them in C++ without much try-catch. Of course the 'resource aquisition is initialization' (RAII) principle will be the solution here.\\ \\ In detail the talk will cover what STL containers and other classes do in case of exceptions and what that means regarding the exception safety guarantees. The distinction between copyable and move-only types is of interest here. Canonical implementations for copy/move constructors and copy/move assignment will be shown which enable to write own classes with value-semantics. This provides for exception safe use of these classes.\\ \\ \\ \\