summaryrefslogtreecommitdiffstats
path: root/doc/src
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2009-03-31 15:35:33 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2009-03-31 15:42:52 (GMT)
commitfb0c8a29f5ab04ac1a4697e2ae12eccea4dbca7e (patch)
treefaa2bff183b373ea08bc8acc418d6187f8d7accd /doc/src
parent1b9ed030accb14783ad269ced6897779022273ad (diff)
downloadQt-fb0c8a29f5ab04ac1a4697e2ae12eccea4dbca7e.zip
Qt-fb0c8a29f5ab04ac1a4697e2ae12eccea4dbca7e.tar.gz
Qt-fb0c8a29f5ab04ac1a4697e2ae12eccea4dbca7e.tar.bz2
Doc: Noted the difference between the qLowerBound() functions.
Task-number: 160621 Reviewed-by: TrustMe
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/qalgorithms.qdoc5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/src/qalgorithms.qdoc b/doc/src/qalgorithms.qdoc
index 459fb81..b33c250 100644
--- a/doc/src/qalgorithms.qdoc
+++ b/doc/src/qalgorithms.qdoc
@@ -490,7 +490,10 @@ of \a value in the variable passed as a reference in argument \a n.
\overload
- This is the same as qLowerBound(\a{container}.begin(), \a{container}.end(), value);
+ For read-only iteration over containers, this function is broadly equivalent to
+ qLowerBound(\a{container}.begin(), \a{container}.end(), value). However, since it
+ returns a const iterator, you cannot use it to modify the container; for example,
+ to insert items.
*/
/*! \fn RandomAccessIterator qUpperBound(RandomAccessIterator begin, RandomAccessIterator end, const T &value)