User Tools


Function COPY-STRUCTURE

Syntax

  • copy-structure structurecopy

Arguments and Values

  • structure - a structure.
  • copy - a copy of the structure.

Description

Returns a copy of the structure.

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

Examples

None.

Side Effects

None.

Affected By

None.

Exceptional Situations

None.

See Also

The :copier option to defstruct.

Notes

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

\issue{DEFSTRUCT-COPIER:ARGUMENT-TYPE}