Howdy, Stranger!

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

Categories

macro for template class

yomholedetyomholedet Member Posts: 3
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.