Universal/Forwarding References - A Key to More Modern C++ - Nicolai Josuttis - C++ on Sea 2022

cpponsea
cpponsea
4.9 هزار بار بازدید - 2 سال پیش - C++ on Sea Website:
C++ on Sea Website: cpponsea.uk/ C++ on Sea Twitter: twitter.com/cpponsea --- Universal/Forwarding References - A Key to More Modern C++ - Nicolai Josuttis - C++ on Sea 2022 Slides: Universal/forwarding references were introduced in C++11 mainly for perfect forwarding of move semantics. However, over time they became more and more a key feature in various situations of C++. One example is the implementation for the range-based for loop. With C++20 they even get an important for ordinary application programmers. You need them to be able to implement generic code that works for both containers and views. Time to look carefully at T&&, auto&& (and maybe their cousin decltype(auto)) in detail. --- Nicolai Josuttis Nicolai Josuttis (www.josuttis.com) is well known in the C++ Community for speaking and writing with authority about C++ (being the author of "C++20 - The Complete Guid", "C+++17 - The Complete Guide", "C++ Move Semantics - The Complete Guide", "The C++ Standard Library", and "C++ Templates" (coauthor)) but is also an innovative presenter. He is an active member of C++ standardization committee for more than 20 years now. --- C++ on Sea is an annual C++ and coding conference, in Folkestone, in the UK. The 2022 conference was conducted as a two part, physical and online C++ event. - Annual C++ on Sea, C++ conference: cpponsea.uk/ - 2022 Program: cpponsea.uk/2022/schedule/ --- Produced and Edited by Digital Medium Ltd: events.digital-medium.co.uk/ Enquiries: [email protected] #Programming​ #Cpp​ #CppOnSea​
2 سال پیش در تاریخ 1401/05/22 منتشر شده است.
4,937 بـار بازدید شده
... بیشتر