LispWorks User Guide and Reference Manual > 14 The Metaobject Protocol > 14.1 Metaobject features incompatible with AMOP

NextPrevUpTopContentsIndex

14.1.1 Instance Structure Protocol

The generic functions implementing slot access are like those described in AMOP, except that each takes a slot-name argument rather than a slot definition object, and the primary methods are therefore specialized differently.

For details, see slot-boundp-using-class, slot-value-using-class and slot-makunbound-using-class.

Note: by default, standard slot accessors are optimized to not call slot-value-using-class. This can be overidden with the :optimize-slot-access class option. See the second definition of virtual-metaclass below for an example of the use of this.

standard-instance-access is not supported as defined in AMOP. Note that there is an internal function of the same name, but this is not optimal. Also, funcallable-standard-instance-access is not supported. An alternative for fast instance access is to use the :optimize-slot-access class option.


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex