What is..Operator Overloading
• Operator Overloading:
– Allows us to define the behavior of operators when
applied to objects of a class
– Examine what operators make sense for a “new data
type” we are creating (think about data abstraction
from last lecture) and implement those that make sense
as operators:
– input_data   is replaced by  >>
– display   is replaced by <<
– assign or copy is replaced by =