From 62a4eae84f410bc5f536e6cea2f5d8d17653dca4 Mon Sep 17 00:00:00 2001
From: Chris Lattner
Date: Tue, 25 Sep 2007 22:37:50 +0000
Subject: explain why not vector
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@42324 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/ProgrammersManual.html | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
(limited to 'docs/ProgrammersManual.html')
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html
index 795b91a..d3b7eef 100644
--- a/docs/ProgrammersManual.html
+++ b/docs/ProgrammersManual.html
@@ -1292,8 +1292,15 @@ expensive. Element iteration does not visit elements in a useful order.
-Unlike the other containers, there are only two bit storage containers, and when
-to use each is relatively straightforward.
+
Unlike the other containers, there are only two bit storage containers, and
+choosing when to use each is relatively straightforward.
+
+
One additional option is
+std::vector<bool>: we discourage its use for two reasons 1) the
+implementation in many common compilers (e.g. commonly available versions of
+GCC) is extremely inefficient and 2) the C++ standards committee is likely to
+deprecate this container and/or change it significantly somehow. In any case,
+please don't use it.
--
cgit v1.1