Clean integral code

Speaker: Walther Zwart

Audience level: Beginner | Intermediate | Advanced

category

You may think that integral types are the simplest types in C++, but there are some surprising facts about them in the standard. Do you know, off the top of your head, what happens when they go out of range, get converted or promoted? Should you even need to know this as a C++ developer?

This talk will explain what the standard says about integers and the implication it has on how you use them in your code. Along with a focus on readable, safe and fast code, we'll explore which integers are best for a given situation and if there are better types to express your intentions.