Is it possible to create a generic C++ function foo?
foo
foo(Object bar, Object fred) { //code }
in which that if the two objects
template void foo(Type1 t1, Type2 t2) { // put code here for function }
call as
foo ("hello", 10);