Package: closer-mop

Generic Function slot-makunbound-using-class

Lambda List

slot-makunbound-using-class (class object slotd)


The class argument is a class metaobject. It is the class of the object argument.
The object argument is an object.
The slot argument is an effective slot definition metaobject.

Return Value

This generic function returns its object argument.


This generic function implements the behavior of the slot-makunbound function. It is called by slot-makunbound with the class of object as its first argument and the pertinent effective slot definition metaobject as its third argument.

The generic function slot-makunbound-using-class restores a slot in an object to its unbound state. The interpretation of "restoring a slot to its unbound state" depends on the class metaobject class.

The results are undefined if the class argument is not the class of the object argument, or if the slot argument does not appear among the set of effective slots associated with the class argument.


slot-makunbound-using-class ((class standard-class) object (slot standard-effective-slot-definition))
slot-makunbound-using-class ((class funcallable-standard-class) object (slot standard-effective-slot-definition))
These methods implement the full behavior of this generic function for slots with allocation :instance and :class. If the supplied slot has an allocation other than :instance or :class an error is signaled.

Overriding these methods is permitted, but may require overriding other methods in the standard implementation of the slot access protocol.

slot-makunbound-using-class ((class built-in-class) object slot)
This method signals an error.