Let’s summarize what we have learned so far
- We know when and how to use inheritance, and when and how to use associations;
- We know when and how to provide operators for our classes;
- We know about pointers and references;
- We know about overloaded functions;
- We know what a constructor is, that there can be overloaded constructors just like with any other member function;
- We know about the copy constructor, and that we should always provide one;
- We have seen a destructor, and what it’s good for (although the important stuff is still to come).
Next we will have a close look at the “cout <<“ operators and then show a few real-life things in actual use in PHENIX.