Return Value Optimization and Copy Elision in C++

Published: 07 November 2022
on channel: mCoding
38,761
1.9k

Embrace the copy-free lifestyle!

― mCoding with James Murphy (https://mcoding.io)

Source code: https://github.com/mCodingLLC/VideosS...
Cppref on copy elision: https://en.cppreference.com/w/cpp/lan...

SUPPORT ME ⭐
---------------------------------------------------
Sign up on Patreon to get your donor role and early access to videos!
  / mcoding  

Feeling generous but don't have a Patreon? Donate via PayPal! (No sign up needed.)
https://www.paypal.com/donate/?hosted...

Want to donate crypto? Check out the rest of my supported donations on my website!
https://mcoding.io/donate

Top patrons and donors: Jameson, Laura M, Dragos C, Vahnekie, Neel R, Matt R, Johan A, Casey G, John Martin, Mutual Information

BE ACTIVE IN MY COMMUNITY 😄
---------------------------------------------------
Discord:   / discord  
Github: https://github.com/mCodingLLC/
Reddit:   / mcoding  
Facebook:   / james.mcoding  

CHAPTERS
---------------------------------------------------
0:00 Intro
0:40 Return Value Optimization
3:06 Where do the copies come from?
5:23 When can copies be elided?
7:46 C++17 mandatory copy elision
9:38 Thanks


Watch video Return Value Optimization and Copy Elision in C++ online without registration, duration hours minute second in high quality. This video was added by user mCoding 07 November 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 38,761 once and liked it 1.9 thousand people.