diff options
author | Brad King <brad.king@kitware.com> | 2017-04-19 20:33:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-04-19 20:41:58 (GMT) |
commit | caabb6e1f3756f317a1b856ec43d77ea80295e04 (patch) | |
tree | a6c63c23ddc42643031f2e25f32b0a86014f093f /Help/manual/cmake-developer.7.rst | |
parent | 0fd255adf52592e6443c15a68c09cfa7fc26e85b (diff) | |
download | CMake-caabb6e1f3756f317a1b856ec43d77ea80295e04.zip CMake-caabb6e1f3756f317a1b856ec43d77ea80295e04.tar.gz CMake-caabb6e1f3756f317a1b856ec43d77ea80295e04.tar.bz2 |
Help/dev: Adopt C++ subset rules in coding guide
Move the C++ subset rules from the `cmake-developer(7)` into our
dedicated coding guide since they do not need to be in user-facing
documentation.
Diffstat (limited to 'Help/manual/cmake-developer.7.rst')
-rw-r--r-- | Help/manual/cmake-developer.7.rst | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/Help/manual/cmake-developer.7.rst b/Help/manual/cmake-developer.7.rst index f77d8c0..cd509ac 100644 --- a/Help/manual/cmake-developer.7.rst +++ b/Help/manual/cmake-developer.7.rst @@ -13,30 +13,6 @@ Introduction This manual is intended for reference by developers modifying the CMake source tree itself, and by those authoring externally-maintained modules. - -Permitted C++ Subset -==================== - -CMake is required to build with ancient C++ compilers and standard library -implementations. Some common C++ constructs may not be used in CMake in order -to build with such toolchains. - -std::auto_ptr -------------- - -The ``std::auto_ptr`` template is deprecated in C++11. We want to use it -so we can build on C++98 compilers but we do not want to turn off compiler -warnings about deprecated interfaces in general. Use the ``CM_AUTO_PTR`` -macro instead. - -size_t ------- - -Various implementations have differing implementation of ``size_t``. When -assigning the result of ``.size()`` on a container for example, the result -should be assigned to ``size_t`` not to ``std::size_t``, ``unsigned int`` or -similar types. - Adding Compile Features ======================= |