CppCon 2014: Scott Meyers "Type Deduction and Why You Care"

CppCon
CppCon
107.2 هزار بار بازدید - 10 سال پیش -
http://www.cppcon.org

Presentation Slides, PDFs, Source Code and other presenter materials are available at: https://github.com/CppCon/CppCon2014
--
C++98 had template type deduction, and it worked so intuitively, there was little need to understand what took place under the covers. C++11 extends type deduction to include universal references, applies it to auto variables and lambda expressions, then throws in a special auto-only deduction rule. C++14 pushes the boundary further, adding two forms of function return type deduction (auto and decltype(auto)) for arbitrary functions and offering auto parameters for lambdas. The result is that what could be treated as a black box in C++98 has become a topic that practicing C++ developers really need to understand. This talk will give you the information you need to do that.
--
Scott Meyers has been working with C++ since 1988. He recently finished his new book, "Effective Modern C++".
--
Videos Filmed & Edited by Bash Films: http://www.BashFilms.com

*-----*
Register Now For CppCon 2022: https://cppcon.org/registration/
*-----*
10 سال پیش در تاریخ 1393/07/10 منتشر شده است.
107,264 بـار بازدید شده
... بیشتر