I already searched about this topic (http://www.parashift.com/c++-faq-lite/templates.html#faq-35.7), but I only found out how to do it for functions without classes or whole classes.
But I want to use it in a class for only some of the functions.
My search resulted in doing it this way:
main.cpp:
1 2 3 4 5 6
...
myclass MyObject;
MyObject.Set<int>(3);
MyObject.Set<string>("hi");
int lint = MyObject.Get<int>;
..