Главная
Study mode:
on
1
Intro
2
Boost Lists
3
What is undefined behavior
4
Examples of what could happen
5
Array example
6
Signed integer overflow
7
Example program crashes
8
Compiler optimizations
9
Can you order pointers
10
Is this a new thing
11
Copy with overlapping buffers
12
Modulo bugs
13
Ignoring integer overflow
14
Uninitialized variables
15
Warnings as errors
16
Uninitialized variable
17
Uninitialized
18
Why do we do this
19
Performance and code size
20
Language semantics
21
Types of undefined behavior
22
Is undefined behavior legal
23
History of undefined behavior
24
Search theory
25
Printing
Description:
Explore the concept of undefined behavior in C++ through this comprehensive conference talk from CppNow 2014. Delve into what undefined behavior is, why it matters, and its implications for C++ programmers. Learn about various examples of undefined behavior, including array access violations, signed integer overflow, and uninitialized variables. Examine compiler optimizations, performance considerations, and language semantics related to undefined behavior. Discover the history behind undefined behavior in C++ and its impact on modern programming practices. Gain insights into detecting and avoiding undefined behavior to write more robust and reliable C++ code.

Undefined Behavior in C++ - What Is It, and Why Do You Care?

CppNow
Add to list
0:00 / 0:00