Roast topics
Find topics
Roast it!
Roast topics
Find topics
Find it!
Login
From:
en.cppreference.com
(Uncensored)
subscribe
Class template argument deduction (CTAD) (since C++17) - cppreference.com
https://en.cppreference.com/w/cpp/language/class_template_argument_deduction
links
backlinks
In order to instantiate a class template, every template argument must be known, but not every template argument has to be specified. In the following contexts the compiler will deduce the template arguments from the type of the initializer: