Details
-
Suggestion
-
Resolution: Done
-
P4: Low
-
5.3.2
-
None
-
6acf41c2c2fbc9aa5b1118ed67e2200ce7fe6e07
Description
QList::insert states the following:
"Inserts value at index position i in the list. If i is 0, the value is prepended to the list. If i is size(), the value is appended to the list."
But the actual implementation would be better documented as:
"Inserts value at index position i in the list. If i <= 0, the value is prepended to the list. If i >= size(), the value is appended to the list."