Is there a package that can tell me the arguments for c++ constructor?
class T1 {
public:
T1(int x, int y);
};
T1::T1(int x, int y) {
std::cout << x+y << std::endl;
}
int main() {
T1 h1(5, 5);
return 0;
}
For example when I write T1 h1(
it informs me the constructor takes int x and int y.