Overview
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.
Syllabus
Introduction
Topics
Signed
twos complement
unsigned intertypes
pure binary
overflow
sign vs unsigned
Undefined Behavior
SizeT
Optimization
Volatiles
Size T
Use Cases
Signed and Unsigned
SsizeT
Poll
Use Case
Signed Integers
When You Subtract
How Much Storage
Unsigned Integers
Do While Loop
Taught by
CppNow