diff options
author | David Boddie <dboddie@trolltech.com> | 2009-03-31 15:35:33 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-03-31 15:35:33 (GMT) |
commit | cf4d9e09afc72dfb474b497a95c872965335e341 (patch) | |
tree | 59d317008aa0816449eac1255235a6ec726c6ff3 /doc/src | |
parent | 94c3e15e0fd04a178c319c2bc151b492a46380ee (diff) | |
download | Qt-cf4d9e09afc72dfb474b497a95c872965335e341.zip Qt-cf4d9e09afc72dfb474b497a95c872965335e341.tar.gz Qt-cf4d9e09afc72dfb474b497a95c872965335e341.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.qdoc | 5 |
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) |