In this chapter, you’ll be exploring how to add support for operators (such as add and subtract) to your classes so that they can be applied to objects of a class type. This will make the types that you define behave more like C++’s fundamental data types.
KeywordsOperator Function Subscript Operator Return Type Assignment Operator Member Function
Unable to display preview. Download preview PDF.