[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

the :allocation slot option



A clarification about the possible values of the :allocation slot-option.
(section II.C.1, bottom of page 11) The values are symbols in the keyword
package not the lisp package as the paper implies.  So they can be one of:

:instance  -- default and means allocate in the instance at make object time.
:class -- shared value allocated in the class
:dynamic -- allocate in the instance on first access
:none  -- no slot is allocated, useful for not inheriting a slot (perhaps because
         the class being defined has a method for computing the value).