[Cmake-commits] CMake branch, next, updated. v3.1.0-rc2-782-gc0795aa
Stephen Kelly
steveire at gmail.com
Thu Nov 20 17:15:50 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 c0795aa3b92fa45327819f4e624b47130c1f278e (commit)
via ecf58bfbfc746ba2ae9e512794ce2e88adef2190 (commit)
from dbf41e4b9e41704ea0c0b40bd61e21c8647f1b28 (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=c0795aa3b92fa45327819f4e624b47130c1f278e
commit c0795aa3b92fa45327819f4e624b47130c1f278e
Merge: dbf41e4 ecf58bf
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Thu Nov 20 17:15:50 2014 -0500
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Thu Nov 20 17:15:50 2014 -0500
Merge topic 'remove-ancient-msvc-workarounds' into next
ecf58bfb Remove disallowed feature which Borland did not accept.
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ecf58bfbfc746ba2ae9e512794ce2e88adef2190
commit ecf58bfbfc746ba2ae9e512794ce2e88adef2190
Author: Stephen Kelly <steveire at gmail.com>
AuthorDate: Thu Nov 20 23:15:16 2014 +0100
Commit: Stephen Kelly <steveire at gmail.com>
CommitDate: Thu Nov 20 23:15:16 2014 +0100
Remove disallowed feature which Borland did not accept.
diff --git a/Help/manual/cmake-developer.7.rst b/Help/manual/cmake-developer.7.rst
index 34e3225..0b06173 100644
--- a/Help/manual/cmake-developer.7.rst
+++ b/Help/manual/cmake-developer.7.rst
@@ -73,28 +73,6 @@ The return value of ``find()`` must be assigned to an intermediate
// ...
}
-Char Array to ``string`` Conversions with Algorithms
-----------------------------------------------------
-
-In some implementations, algorithms operating on iterators to a container of
-``std::string`` can not accept a ``const char*`` value:
-
-.. code-block:: c++
-
- const char* dir = /*...*/;
- std::vector<std::string> vec;
- // ...
- std::binary_search(vec.begin(), vec.end(), dir); // Wrong
-
-The ``std::string`` may need to be explicitly constructed:
-
-.. code-block:: c++
-
- const char* dir = /*...*/;
- std::vector<std::string> vec;
- // ...
- std::binary_search(vec.begin(), vec.end(), std::string(dir)); // Ok
-
std::auto_ptr
-------------
-----------------------------------------------------------------------
Summary of changes:
Help/manual/cmake-developer.7.rst | 22 ----------------------
1 file changed, 22 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list