Exercise solution:
No single most general class in C++
This exercise is supposed to give rise to some discussion - there is no solution as such. However:
- In C# there are some methods in class Object, such as Equals, GetType and ToString. What about these methods in C++
- What about data members in a potential Object class in C++
- In C# there are no methods outside classes. In C++ ...
- Class templates are also part of story ...