- classes, but may be overridden to cope with special effects. It works as
- follows.
- \begin{enumerate}
- \item Allocate a fresh instance of @<class>, using @|allocate-instance|.
- \item For each slot defined by @<class>, if that slot is bound in the
- original instance, then set the corresponding slot in the new instance to
- the same value.
- \item Call @|shared-initialize| on the new instance, providing it the given
- list of @<initargs>, but inhibiting the usual initialization of slots
- from their initforms.
- \item Return the new instance.
- \end{enumerate}
+ classes, but may be overridden to cope with special effects.
+
+ \begin{describe}{meth}{standard-class}
+ {copy-instance-using-class \=(@<class> standard-class) @<instance> \\
+ \>\&rest initargs
+ \nlret @<new-instance>}
+ The default method works as follows.
+ \begin{enumerate}
+ \item Allocate a fresh instance of @<class>, using @|allocate-instance|.
+ \item For each slot defined by @<class>, if that slot is bound in the
+ original instance, then set the corresponding slot in the new instance
+ to the same value.
+ \item Call @|shared-initialize| on the new instance, providing it the
+ given list of @<initargs>, but inhibiting the usual initialization of
+ slots from their initforms.
+ \item Return the new instance.
+ \end{enumerate}
+ \end{describe}