+ 1
Do you mean a class or template? In this case suppose you have a class called MyClass and the function foo. You can pass the class to the function in the following way type foo (MyClass instance_of_MyClass, other parameters) {}
27th Jul 2016, 6:01 PM
pasquale napolitano
pasquale napolitano - avatar