C++:TypeDeduction
lastmod 2018-08-17created 2016-01-272 edits
C++11
C++98 had only one set of type deduction rules. It was used only in function templates. Even without knowing it in detail, you could get by just fine. But since C++11, two more kinds of type deduction have appeared. auto and decltype use type deduction.