Skip to content

Commit

Permalink
Merge pull request #220 from N-Dekker/Describe-ITK_DEFAULT_COPY_AND_MOVE
Browse files Browse the repository at this point in the history
DOC: Describe `ITK_DEFAULT_COPY_AND_MOVE`
  • Loading branch information
jhlegarreta authored Jan 29, 2025
2 parents 95b46fe + 8430b42 commit f6af837
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions SoftwareGuide/Latex/Appendices/CodingStyleGuide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -3284,6 +3284,11 @@ \section{Using Standard Macros}
\item \code{ITK\_DISALLOW\_COPY\_AND\_ASSIGN(TypeName)}: Disallow copying by
declaring copy constructor and assignment operator deleted. This must be
declared in the \textbf{public} section.
\item \code{ITK\_DEFAULT\_COPY\_AND\_MOVE(TypeName)}: Enables copying and moving
by explicitly defaulting the copy constructor, copy assignment operator, move
constructor, and move assignment operator of a class. Especially useful for
classes that have a user-defined destructor. Intended to be placed in the
\textbf{public} section of a class.
\item \code{itkDebugMacro(x)}: If debug is set on a subclass of
\doxygen{Object}, prints debug information to the appropriate output
stream.
Expand Down

0 comments on commit f6af837

Please sign in to comment.