Loading…
This event has ended. Visit the official site or create your own event on Sched.
View analytic
Tuesday, September 26 • 3:15pm - 4:15pm
Class Template Argument Deduction: A New Abstraction

Log in to save this to your schedule and see who's attending!

Feedback form is now closed.
C++17 is often quoted as “just a better C++14”, suggesting that nothing is new, nothing is changing the way we program. This talk presents class template argument deduction as a counterexample, a hidden gem in the new standard.

Saves typing? A replacement for the `make` functions? If that’s your frame, then you should come to this talk. The true power of class template argument deduction is underestimated. It’s a new point of abstraction but requiring creativity, insights, and understanding about the language details to manage.

This talk will start by introducing all matters about this feature to build up sufficient background knowledge, followed by teaching how to write deduction guides by examples, and finally explain how to build abstractions using the whole feature in a top-down approach, with patterns categorized.

Speakers
avatar for Zhihao Yuan

Zhihao Yuan

Research Engineer, DePaul University
Zhihao Yuan is a research developer at DePaul University. In the last several years, he participates in the C++ standardization due to personal interests, and most recently, contributed the deduction guide for std::array to C++17.


Tuesday September 26, 2017 3:15pm - 4:15pm
Berry Hall Meydenbauer Center