Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| language:types2 [2025/09/19 10:22] – [Functions] rajit | language:types2 [2025/09/19 10:22] (current) – [Functions] rajit | ||
|---|---|---|---|
| Line 314: | Line 314: | ||
| </ | </ | ||
| - | ===== Functions | + | ==== Functions ==== |
| In addition to macros, [[language: | In addition to macros, [[language: | ||
| 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: | ||