Explore the intricacies of integer type selection in C++ for safe, secure, and correct code in this comprehensive conference talk by Robert Seacord at CppNow 2023. Delve into topics such as signed versus unsigned integers, exact width integers, and their proper usage. Gain insights on safety and security concerns associated with incorrect integer type selection. Learn about two's complement, pure binary, overflow, undefined behavior, size_t optimization, volatiles, and use cases for signed and unsigned integers. Understand the implications of subtraction operations, storage requirements, and the do-while loop in the context of integer types. Benefit from the expertise of Robert Seacord, a renowned author and standardization lead, as he shares valuable knowledge to help developers make informed decisions about integer type selection in C++ programming.
Integer Type Selection in C++ - Safe, Secure and Correct Code