Приглашаем посетить
Русская библиотека (biblioteka-rus.ru)

Section B.22.  Operator Overloading

Previous
Table of Contents
Next

B.22. Operator Overloading

You can redefine operators like addition, concatenation, comparison, or even the implicit string-to-number conversion with the overload module. For example, this is how a module implementing complex numbers can let you multiply a complex number by 8 to get a complex number as a result.

    Previous
    Table of Contents
    Next