Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| language:types2 [2025/05/02 10:18] – [Default parameters] rajit | language:types2 [2025/09/19 10:22] (current) – [Functions] rajit | ||
|---|---|---|---|
| Line 355: | Line 355: | ||
| any of the members of the pure structure. Macros can be used to change those. | any of the members of the pure structure. Macros can be used to change those. | ||
| - | === Operator overloading === | + | ==== Operator overloading |
| Functions within pure structures are also used to support operator overloading. In particular, the following function methods are interpreted to be the definition of operator overloading for arithmetic operators: | Functions within pure structures are also used to support operator overloading. In particular, the following function methods are interpreted to be the definition of operator overloading for arithmetic operators: | ||