The C++17 allows using auto as template parameter. The parameter shall become a non-type in this…
Tag: templates
Template type deduction in functions
instantiate the templates without specifying template type. The compiler can itself performs template type deduction by…
Class Template Argument Deduction in C++17
from C++17, this rule is relaxed and there is concept of class template argument deduction. Therefore,…
C++ Templates: Partial Template Specialization
Partial template specialization means to rewrite C++ templates by explicitly specifying a few but not all…
Calling member functions in base template class
When the base is template class, then compiler cannot simply call base class members in derived…
What are dependent scope type in templates?
Dependent type are types that depends on the template parameter. These dependent types are access via…