Loading…
CppCon 2014 has ended
Monday, September 8 • 9:15am - 10:45am
Type Deduction and Why You Care

Log in to save this to your schedule, view media, leave feedback and see who's attending!

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.

Speakers
avatar for Scott Meyers

Scott Meyers

Retired C++ Consultant, Self
Scott Meyers devoted over 25 years to the advancement of C++ before retiring from active involvement in it at the end of 2015. He's best known for his books, Effective C++, Effective Modern C++, More Effective C++, and Effective STL.


Monday September 8, 2014 9:15am - 10:45am PDT
Fermat

Attendees (0)