Can it be done? I am looking for something different than using the member initialization list (because that is present in the definition, not necessarily the declaration).
Something like
class(args) : superclass(fn of args);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
What you are asking makes no sense.
In C++ each class has a constructor.
For a constructor the declaration defines the parameters.
For a constructor the definition defines how the parameters are used (like how they are passed to the base class).
Example: