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.


Operator Function Subscript Operator Return Type Assignment Operator Member Function 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Ivor Horton 2004

Authors and Affiliations

  • Ivor Horton

There are no affiliations available

Personalised recommendations