chiark
/
gitweb
/
~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
f4e44f7
)
doc/concepts.tex: Mention class-slot initializers; cross-ref to metaclasses.
author
Mark Wooding
<mdw@distorted.org.uk>
Sat, 27 Jul 2019 13:42:18 +0000
(14:42 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 27 Jul 2019 13:56:30 +0000
(14:56 +0100)
doc/concepts.tex
patch
|
blob
|
blame
|
history
diff --git
a/doc/concepts.tex
b/doc/concepts.tex
index 394913ce1e9a8d5e04bf0a86d2df1e54884f9a7b..399b148cd93f0cc02018b4b88f6f085962e2b77b 100644
(file)
--- a/
doc/concepts.tex
+++ b/
doc/concepts.tex
@@
-240,6
+240,10
@@
the @|me| pointer: in an initializer for a slot defined by a class $C$, @|me|
has type `pointer to $C$'. (Note that the type of @|me| depends only on the
class which defined the slot, not the class which defined the initializer.)
+A class can also define \emph{class slot initializers}, which provide values
+for a slot defined by its metaclass; see \xref{sec:concepts.metaclasses} for
+details.
+
\subsection{C language integration} \label{sec:concepts.classes.c}