An example from the C++ language is defining the "less than less than" operator on an output stream to represent a data transfer --- not to represent a bitwise shift, as is the case when the operator is used with integers.
An example from the C++ language is defining the "less than less than" operator on an output stream to represent a data transfer --- not to represent a bitwise shift, as is the case when the operator is used with integers. For ten points, identify this practice of redefining standard operators to act on newly defined data types.
An example from the C++ language is defining the "less than less than" operator on an output stream to represent a data transfer --- not to represent a bitwise shift, as is the case when the operator is used with integers.
operator overloading