diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-02-17 10:07:59 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-02-17 10:07:59 (GMT) |
commit | a74d125a7c67b7e4de9bd707b8c2a6d669a34fec (patch) | |
tree | 795f540f27fb386f1cbbe4c517e6cef274ac9674 /Help/manual | |
parent | 317d8498aa02c9f486bf5071963bb2034777cdd6 (diff) | |
download | CMake-a74d125a7c67b7e4de9bd707b8c2a6d669a34fec.zip CMake-a74d125a7c67b7e4de9bd707b8c2a6d669a34fec.tar.gz CMake-a74d125a7c67b7e4de9bd707b8c2a6d669a34fec.tar.bz2 |
Help: Fix typo
binary_find -> binary_search.
Diffstat (limited to 'Help/manual')
-rw-r--r-- | Help/manual/cmake-developer.7.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Help/manual/cmake-developer.7.rst b/Help/manual/cmake-developer.7.rst index 887047c..376b56c 100644 --- a/Help/manual/cmake-developer.7.rst +++ b/Help/manual/cmake-developer.7.rst @@ -84,7 +84,7 @@ In some implementations, algorithms operating on iterators to a container of const char* dir = /*...*/; std::vector<std::string> vec; // ... - std::binary_find(vec.begin(), vec.end(), dir); // Wrong + std::binary_search(vec.begin(), vec.end(), dir); // Wrong The ``std::string`` may need to be explicitly constructed: @@ -93,7 +93,7 @@ The ``std::string`` may need to be explicitly constructed: const char* dir = /*...*/; std::vector<std::string> vec; // ... - std::binary_find(vec.begin(), vec.end(), std::string(dir)); // Ok + std::binary_search(vec.begin(), vec.end(), std::string(dir)); // Ok std::auto_ptr ------------- |