Skip to main content\(
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 20.8 Vocabulary
- operator overloading
Defining how operators like
+
or
==
should work for user-defined types.
- syntactic sugar
A bit of programming language syntax that does not allow for any truly new functionality but makes some bit of code easier to read and write
- functor
An object that can be treated as a function or can be called as a function.
You have attempted
of
activities on this page.