given function in c++ , exists way to get what is the number of the arguments that my function gets ? (like argc in main in c language).
for example:
double MyFunction(int x , int y) {
int NumOfParam= //.... =2;
}
Note: I asking for a way (if I can at all) to do it without send the number of the arguments as parameter itself.. (like argc).
Aucun commentaire:
Enregistrer un commentaire