Return Value Optimization and Copy Elision in C++
Embrace the copy-free lifestyle!
― mCoding with James Murphy (https://mcoding.io)
Source code: https://github.com/mCodingLLC/VideosSampleCode
Cppref on copy elision: https://en.cppreference.com/w/cpp/language/copy_elision
SUPPORT ME ⭐
---------------------------------------------------
Sign up on Patreon to get your donor role and early access to videos!
https://patreon.com/mCoding
Feeling generous but don't have a Patreon? Donate via PayPal! (No sign up needed.)
https://www.paypal.com/donate/?hosted_button_id=VJY5SLZ8BJHEE
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: https://discord.gg/Ye9yJtZQuN
Github: https://github.com/mCodingLLC/
Reddit: https://www.reddit.com/r/mCoding/
Facebook: https://www.facebook.com/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
Видео Return Value Optimization and Copy Elision in C++ канала mCoding
― mCoding with James Murphy (https://mcoding.io)
Source code: https://github.com/mCodingLLC/VideosSampleCode
Cppref on copy elision: https://en.cppreference.com/w/cpp/language/copy_elision
SUPPORT ME ⭐
---------------------------------------------------
Sign up on Patreon to get your donor role and early access to videos!
https://patreon.com/mCoding
Feeling generous but don't have a Patreon? Donate via PayPal! (No sign up needed.)
https://www.paypal.com/donate/?hosted_button_id=VJY5SLZ8BJHEE
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: https://discord.gg/Ye9yJtZQuN
Github: https://github.com/mCodingLLC/
Reddit: https://www.reddit.com/r/mCoding/
Facebook: https://www.facebook.com/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
Видео Return Value Optimization and Copy Elision in C++ канала mCoding
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![Don't make this big O mistake!](https://i.ytimg.com/vi/PXWL_Xzyrp4/default.jpg)
![Why I prefer attrs over dataclasses](https://i.ytimg.com/vi/1S2h11XronA/default.jpg)
![type(obj) vs. obj.__class__ in Python, and changing an object's class.](https://i.ytimg.com/vi/5vpdzRbfTIM/default.jpg)
![Python's collections.abc | InvertibleDict](https://i.ytimg.com/vi/oUt1feRoyvI/default.jpg)
![unique_ptr is NOT just for heap allocations | custom deleters](https://i.ytimg.com/vi/mhCMtNWQ_CQ/default.jpg)
![How to check whether a file exists in Python](https://i.ytimg.com/vi/V6IX3k8PDBc/default.jpg)
![unique_ptr: C++'s simplest smart pointer](https://i.ytimg.com/vi/AmjoK55h68Y/default.jpg)
![Does Python have a ternary operator?](https://i.ytimg.com/vi/zjwhh2MEa0Q/default.jpg)
![21 MORE nooby Python habits](https://i.ytimg.com/vi/E8NijUYfyus/default.jpg)
![str vs bytes in Python](https://i.ytimg.com/vi/EimoZHDcQMA/default.jpg)
![Intro to async Python | Writing a Web Crawler](https://i.ytimg.com/vi/ftmdDlwMwwQ/default.jpg)
![Extending Python's Number hierarchy](https://i.ytimg.com/vi/lcm4tYGmAig/default.jpg)
![Fast pow](https://i.ytimg.com/vi/GrNJE6ogyQU/default.jpg)
![Python Iterators! COPY or NO COPY?](https://i.ytimg.com/vi/hVFKy9Gw95c/default.jpg)
![Getting around the recursion limit](https://i.ytimg.com/vi/1dUpHL5Yg8E/default.jpg)
![Every Python dev falls for this (name mangling)](https://i.ytimg.com/vi/0hrEaA3N3lk/default.jpg)
![Functions within functions, closures, and variable scopes in Python](https://i.ytimg.com/vi/jXugs4B3lwU/default.jpg)
![It's time... for PYTHON 3.11!](https://i.ytimg.com/vi/ueTXYhtlnjA/default.jpg)
![Python Generators](https://i.ytimg.com/vi/tmeKsb2Fras/default.jpg)
![8 things in Python you didn't realize are descriptors](https://i.ytimg.com/vi/mMbVs17Vmo4/default.jpg)