A powerful feature of C++'s templates is `template specialization`. This allows alternative implementations to be provided based on certain characteristics of the parameterized type that is being instantiated.
Why is the output of this code : #include <iostream> template<typename T> void f(T param) { …
c++ templates specialization template-specialization reference-type