Details
-
Suggestion
-
Resolution: Fixed
-
P3: Somewhat important
-
4.7.1
-
None
Description
QVector has a constructor that takes a default value used to initialize the elements. Why haven't you added a version of QVector::resize with the same capabilities (as we are used to for STL's std::vector)? I find this to be a natural supplement to the existing resize function. Not a big deal, but avoiding the initialization would make my code a bit cleaner.