Björn Fahller  - Type Safe C++?   LOL! :-)
Channel: SwedenCpp
Date: 2018-03-05

So called "strong types", genuinely type safe alternatives to "typedef:s" are often seen as a way to prevent bugs, but they can also be used to improve clarity in your code, and even increase performance. It is underappreciated how strong the type safety guarantees in C++ are, because it takes knowledge and a bit of discipline to make use of it. In this session, I give motivating examples for why strong types are good, and present some of the techniques for creating them. The simplest techniques requires no library support, but I will also show some more sophisticated solutions from open source libraries available on github. We will go through what happens with both production code and test code when you use them, and also discuss the pros and cons of the different approaches.

Slides: https://speakerdeck.com/rollbear/type-safe-c-plus-plus-lol


Recorded at NYX Gaming Group office in Stockholm, Februar 22, 2018.
SwedenCpp, Stockholm 0x0A.
https://www.meetup.com/swedencpp/