How can I implement a template function that takes arguments as the type constructor

Viewed 40

I want to make a function similar to emplace_back in vector class something like this

template<typename T>
void function(//T constructor arguments)
{ //Do stuff}
0 Answers
Related