Главная
Study mode:
on
1
Intro
2
How did we get here?
3
How does this magic work?
4
Early days of C++
5
Another C++98 example...
6
A third C++98 example...
7
Can actually break C++03 code
8
Temporary Materialization
9
A simplification
10
Don't be too clever!
11
Another example...
12
One bad object poisons the move
13
Special Members
14
What are the rules?
15
Comparison of copy and move
16
MSVC x86/x64 convention
17
Passing arguments to functions
18
Returning or passing a reference?
Description:
Explore the intricacies of C++ move semantics and copy elision in this ACCU 2018 conference talk. Delve into the evolution of object creation optimization from C++98 to C++17, examining worked examples and practical implications. Learn about temporary materialization, potential pitfalls in clever coding, and the rules governing special members. Compare copy and move operations, understand MSVC x86/x64 conventions, and gain insights into efficient argument passing and return value handling in functions. Discover why sometimes not creating an object at all can be the most efficient approach in C++ programming.

Nothing Is Better Than Copy or Move

ACCU Conference
Add to list