C++Now 2015 has ended
Please visit the C++Now website.
Back To Schedule
Tuesday, May 12 • 2:30pm - 4:00pm
Type Deduction in C++14

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

C++14 has many ways of naming a type. In addition to using the type's name directly, we have auto, auto &, auto const &, auto &&, decltype(auto), and decltype(some-expression). In C++11, these methods of type deduction only applied to variable declarations, but C++14 adds return type deduction for normal functions.

When should we use this powerful feature, and when should we be more explicit with our types? What new types of libraries do these features allow, and what are the risks?

We will talk about how to design a modern C++ library that takes advantage of type deduction without harming readability.


ODP File

avatar for David Stone

David Stone

Vice President, Markit
David Stone has spoken at C++Now and Meeting C++. He is the author of the bounded::integer library: http://doublewise.net/c++/bounded/ and has a special interest in compile-time code generation and error checking, as well as machine learning. He works at Markit integrating real-time... Read More →

Tuesday May 12, 2015 2:30pm - 4:00pm MDT
Flug Auditorium

Attendees (0)