CLCS
Function

copy-structure

copy-structure structurecopy

Arguments and Values

structurea structure.
copya copy of the structure.

Description

Returns a copy_6 of the structure.

Only the structure itself is copied; not the values of the slots.

See Also

the :copier option to defstruct

Notes

The copy is the same as the given structure under equalp, but not under equal.