Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: Describe ITK_DEFAULT_COPY_AND_MOVE #220

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
jhlegarreta marked this conversation as resolved.
Show resolved Hide resolved
\item \code{itkDebugMacro(x)}: If debug is set on a subclass of
\doxygen{Object}, prints debug information to the appropriate output
stream.
Expand Down