summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-09-29 12:48:56 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-09-29 12:49:02 (GMT)
commite6e32101d8e9c34a6ec2f5e8c9051d2f8bfdece2 (patch)
tree5a593878ea389495e621a56d2c5d818ff9ff70e3 /Help
parente24e0ff6fac02bc8a12514d22ab4d8b80d789f56 (diff)
parentb8018135b5729b5c74a0c95ab2b8cc8677fbe5b8 (diff)
downloadCMake-e6e32101d8e9c34a6ec2f5e8c9051d2f8bfdece2.zip
CMake-e6e32101d8e9c34a6ec2f5e8c9051d2f8bfdece2.tar.gz
CMake-e6e32101d8e9c34a6ec2f5e8c9051d2f8bfdece2.tar.bz2
Merge topic 'cxx11-eq-delete'
b8018135 Use C++11 '= delete' instead of CM_EQ_DELETE 42f4e697 Drop unused CMake_HAVE_CXX_UNIQUE_PTR macro Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1326
Diffstat (limited to 'Help')
-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