From a design point of view, why is that, in C++, there is no mother-of-all base-class, what’s usually object in other languages?
From a design point of view, why is that, in C++, there is no
Share
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.
The definitive ruling is found in Stroustrup’s FAQs.
In short, it doesn’t convey any semantic meaning. It will have a cost. Templates are more useful for containers.