Package: closer-mop

Generic Function remove-dependent

Lambda List

remove-dependent (metaobject dependent)

Arguments

The metaobject argument is a class or generic function metaobject.
The dependent argument is an object.

Return Value

The value returned by this generic function is unspecified.

Details

This generic function removes dependent from the dependents of metaobject. If dependent is not one of the dependents of metaobject, no error is signaled.

The generic function map-dependents can be called to access the set of dependents of a class or generic function. The generic function add-dependent can be called to add an object from the set of dependents of a class or generic function. The effect of calling add-dependent or remove-dependent while a call to map-dependents on the same class or generic function is in progress is unspecified.

The situations in which remove-dependent is called are not specified.

Methods

remove-dependent ((class standard-class) dependent)
No behavior is specified for this method beyond that which is specified for the generic function.

This method cannot be overridden unless the following methods are overridden as well:

add-dependent (standard-class t)
map-dependents (standard-class t)


remove-dependent ((class funcallable-standard-class) dependent)
No behavior is specified for this method beyond that which is specified for the generic function.

This method cannot be overridden unless the following methods are overridden as well:

add-dependent (funcallable-standard-class t)
map-dependents (funcallable-standard-class t)


remove-dependent ((generic-function standard-generic-function) dependent)
No behavior is specified for this method beyond that which is specified for the generic function.

This method cannot be overridden unless the following methods are overridden as well:

add-dependent (standard-generic-function t)
map-dependents (standard-generic-function t)

Notes

See the "Dependent Maintenance Protocol" section for remarks about the use of this facility.