Deduce constructor argument types for a class template in C++?
I need to write a template function in C++ that extracts the types of a class’s constructor arguments and returns them as a std::tuple. Here’s what I’m trying to achieve:
Deduce constructor argument types for a class template in C++?
I need to write a template function in C++ that extracts the types of a class’s constructor arguments and returns them as a std::tuple. Here’s what I’m trying to achieve: