[Cmake-commits] CMake branch, next, updated. v3.1.0-rc2-875-g1253f0f
Stephen Kelly
steveire at gmail.com
Tue Nov 25 12:35:52 EST 2014
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 1253f0f9b971ffea3faea2692af5fe12bc9ce648 (commit)
via beaea609a04848e3596afe6f0e8340e923fbfe28 (commit)
from 98d16fa395b87816f24df3eeb29dc12ee9bf49e7 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=1253f0f9b971ffea3faea2692af5fe12bc9ce648
commit 1253f0f9b971ffea3faea2692af5fe12bc9ce648
Merge: 98d16fa beaea60
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Tue Nov 25 12:35:52 2014 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Tue Nov 25 12:35:52 2014 -0500
Merge topic 'remove-developer-forbidden-API' into next
beaea609 Remove note disallowing use of some string and vector API.
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=beaea609a04848e3596afe6f0e8340e923fbfe28
commit beaea609a04848e3596afe6f0e8340e923fbfe28
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Sat Nov 22 09:34:20 2014 +0100
Commit: Stephen Kelly <steveire at gmail.com>
CommitDate: Tue Nov 25 18:35:00 2014 +0100
Remove note disallowing use of some string and vector API.
The compilers introducing these limitations are no longer supported
as host compilers.
diff --git a/Help/manual/cmake-developer.7.rst b/Help/manual/cmake-developer.7.rst
index 0b06173..672c9b7 100644
--- a/Help/manual/cmake-developer.7.rst
+++ b/Help/manual/cmake-developer.7.rst
@@ -21,32 +21,6 @@ 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::vector::at
----------------
-
-The ``at()`` member function of ``std::vector`` may not be used. Use
-``operator[]`` instead:
-
-.. code-block:: c++
-
- std::vector<int> someVec = getVec();
- int i1 = someVec.at(5); // Wrong
- int i2 = someVec[5]; // Ok
-
-std::string::append and std::string::clear
-------------------------------------------
-
-The ``append()`` and ``clear()`` member functions of ``std::string`` may not
-be used. Use ``operator+=`` and ``operator=`` instead:
-
-.. code-block:: c++
-
- std::string stringBuilder;
- stringBuilder.append("chunk"); // Wrong
- stringBuilder.clear(); // Wrong
- stringBuilder += "chunk"; // Ok
- stringBuilder = ""; // Ok
-
std::set const iterators
------------------------
-----------------------------------------------------------------------
Summary of changes:
Help/manual/cmake-developer.7.rst | 26 --------------------------
1 file changed, 26 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list