Hi everyone i have a question about templates,
is there a way for taking type of a template class, for example
//i have template function
template<typename T>
IData* createData();
//a template class instance
std::vector<int> a;
//using type of this instance in another template
//part in quotation mark is imaginary of course :D
IData* newData = createData<"typeOf(a)">();
is it possible in c++? or is there an shortcut alternative