to name a class which is currently undefined. Forward declarations are
necessary in order to resolve certain kinds of circularity. For example,
\begin{prog}
-class Sub;
-\\+
-class Super : SodObject \{ \\ \ind
- Sub *sub; \- \\
-\};
-\\+
-class Sub : Super \{ \\ \ind
- /* \dots */ \- \\
+class Sub; \\+
+
+class Super : SodObject \{ \\ \ind
+ Sub *sub; \-\\
+\}; \\+
+
+class Sub : Super \{ \\ \ind
+ /* \dots\ */ \-\\
\};
\end{prog}
@<initializer-item> containing the slot name and initializer were present.
For example,
\begin{prog}
-[nick = eg] \\-
-class Example : Super \{ \\ \ind
- int foo = 17; \- \\
+[nick = eg] \\
+class Example : Super \{ \\ \ind
+ int foo = 17; \-\\
\};
\end{prog}
means the same as
\begin{prog}
-[nick = eg] \\-
-class Example : Super \{ \\ \ind
- int foo; \\
- eg.foo = 17; \- \\
+[nick = eg] \\
+class Example : Super \{ \\ \ind
+ int foo; \\
+ eg.foo = 17; \-\\
\};
\end{prog}