make-instance
class {&rest initargs {&key} {&allow-other-keys}} => instance
make-instance
(class standard-class) {&rest initargs}
make-instance
(class symbol) {&rest initargs}
class---a class, or a symbol that names a class.
initargs---an initialization argument list.
instance---a fresh instance of class class.
The generic function make-instance creates and returns a new instance of the given class.
If the second of the above methods is selected, that method invokes make-instance on the arguments (find-class class) and initargs.
The initialization arguments are checked within make-instance.
The generic function make-instance may be used as described in section Object Creation and Initialization.
If any of the initialization arguments has not been declared as valid, an error of type error is signaled.
section defclass [Macro] , section class-of [Function] , section allocate-instance [Standard Generic Function] , section Initialize-Instance , section Object Creation and Initialization
Go to the first, previous, next, last section, table of contents.