Get 20% off all career paths from fullstack to AI
AI Engineer - Learn how to integrate AI into software applications
Overview
Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This presentation examines how C++ copying, moving, and copy elision behave through worked examples, including C++17 temporary materialization. It also covers practical pitfalls and special member rules.
Syllabus
Intro
How did we get here?
How does this magic work?
Early days of C++
Another C++98 example...
A third C++98 example...
Can actually break C++03 code
Temporary Materialization
A simplification
Don't be too clever!
Another example...
One bad object poisons the move
Special Members
What are the rules?
Comparison of copy and move
MSVC x86/x64 convention
Passing arguments to functions
Returning or passing a reference?
Taught by
ACCU Conference