OSDN Git Service

[docs] Clarify usage of "vector" in Programmer's Manual.
authorEli Friedman <efriedma@codeaurora.org>
Tue, 22 May 2018 22:58:47 +0000 (22:58 +0000)
committerEli Friedman <efriedma@codeaurora.org>
Tue, 22 May 2018 22:58:47 +0000 (22:58 +0000)
The explanation is specifically referring to std::vector; this might
not be clear from the context.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333036 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ProgrammersManual.rst

index 4098f38..9ce64ab 100644 (file)
@@ -1832,7 +1832,7 @@ A sorted 'vector'
 ^^^^^^^^^^^^^^^^^
 
 If you intend to insert a lot of elements, then do a lot of queries, a great
-approach is to use a vector (or other sequential container) with
+approach is to use an std::vector (or other sequential container) with
 std::sort+std::unique to remove duplicates.  This approach works really well if
 your usage pattern has these two distinct phases (insert then query), and can be
 coupled with a good choice of :ref:`sequential container <ds_sequential>`.