Type Deduction and Why You Care

Play Type Deduction and Why You Care
Sign in to queue



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





Download this episode

Download captions

The Discussion

  • User profile image

    I predict insecure software far into the future until C/C++ goes away. And I don't see that happening. So, computer systems will continue to be vulnerable.

Add Your 2 Cents