macro for template class

hello i have class with template function i want to write macro for the function the issue is how to pass the type

class foo
{
trmplate
static void myfunc(char* ch,T* data)
{
//do somthing with data

}
}

#define MYMACRO(CH,DATA)
foo<??>::myfunc(CH,DATA)

I DONT KNOW THE TYPE PASS
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories