void function(???)

Is there anyway to make a function like this, and what would I use in place of the question marks:
1
2
3
4
5
6
7
8
void function(???)
...
...
function(variableA == 1);
...
function(GetAsyncKeyState('h');
...
etc


Is there anyway to do this without overloading the function a bunch of times?
template < typename T > void function( const T& arg ) ;
Thanks
Topic archived. No new replies allowed.