summaryrefslogtreecommitdiffstats
path: root/Help/dev
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-01-23 19:30:01 (GMT)
committerBrad King <brad.king@kitware.com>2019-01-29 19:09:21 (GMT)
commitb05b778a2dfbcb6978d652dfa27bd52cc649f736 (patch)
tree93eb16efaa0aa9209a47e48ee7cedea1753dc88a /Help/dev
parentd75fec5a88f81a8c16cdeab46766e92a14d1d3cf (diff)
downloadCMake-b05b778a2dfbcb6978d652dfa27bd52cc649f736.zip
CMake-b05b778a2dfbcb6978d652dfa27bd52cc649f736.tar.gz
CMake-b05b778a2dfbcb6978d652dfa27bd52cc649f736.tar.bz2
clang-tidy: Use `= delete`
Diffstat (limited to 'Help/dev')
-rw-r--r--Help/dev/source.rst10
1 files changed, 0 insertions, 10 deletions
diff --git a/Help/dev/source.rst b/Help/dev/source.rst
index 6697d38..47baff4 100644
--- a/Help/dev/source.rst
+++ b/Help/dev/source.rst
@@ -30,16 +30,6 @@ building on older toolchains some constructs need to be handled with care:
The ``std::auto_ptr`` template is deprecated in C++11. Use ``std::unique_ptr``.
-* Use ``CM_DISABLE_COPY(Class)`` to mark classes as non-copyable.
-
- The ``CM_DISABLE_COPY`` macro should be used in the private section of a
- class to make sure that attempts to copy or assign an instance of the class
- lead to compiler errors even if the compiler does not support *deleted*
- functions. As a guideline, all polymorphic classes should be made
- non-copyable in order to avoid slicing. Classes that are composed of or
- derived from non-copyable classes must also be made non-copyable explicitly
- with ``CM_DISABLE_COPY``.
-
Source Tree Layout
==================