Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.6.0
-
None
Description
The Qt documentation states in several places that it will construct, return, etc. "default-constructed values". The definition of that term links to:
https://doc.qt.io/qt-6/containers.html#default-constructed-value
This information is not entirely accurate, as the objects are value initializated, not default initialized. The simplification done here for some users (C++ novices) will mislead C++ experts.
I'm not entirely sure how to fix this. Talk about "value-constructed values" is plain horrible. Maybe we should find another wording for the definition, and then explain in there that what we do is akin to value initialization.