to show how to simulate local template in C++

Comment simulate local template.