summaryrefslogtreecommitdiffstats
path: root/Help/dev
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-28 13:50:18 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-28 13:50:18 (GMT)
commitb8018135b5729b5c74a0c95ab2b8cc8677fbe5b8 (patch)
treed4c9f1bf34bcfc2e6094e0a84def5ea249cf0b78 /Help/dev
parent42f4e6974c99cfdd6727f2fcd35c83f431ab10a5 (diff)
downloadCMake-b8018135b5729b5c74a0c95ab2b8cc8677fbe5b8.zip
CMake-b8018135b5729b5c74a0c95ab2b8cc8677fbe5b8.tar.gz
CMake-b8018135b5729b5c74a0c95ab2b8cc8677fbe5b8.tar.bz2
Use C++11 '= delete' instead of CM_EQ_DELETE
We now require C++11 support including `= delete`. Drop use of the old compatibility macro.
Diffstat (limited to 'Help/dev')
-rw-r--r--Help/dev/source.rst8
1 files changed, 0 insertions, 8 deletions
diff --git a/Help/dev/source.rst b/Help/dev/source.rst
index 96fc4a7..d0c19eb 100644
--- a/Help/dev/source.rst
+++ b/Help/dev/source.rst
@@ -30,14 +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_EQ_DELETE;`` instead of ``= delete;``.
-
- Older C++11 compilers do not support deleting functions. Using
- ``CM_EQ_DELETE`` will delete the functions if the compiler supports it and
- give them no implementation otherwise. Calling such a function will lead
- to compiler errors if the compiler supports *deleted* functions and linker
- errors otherwise.
-
* 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