-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
None
-
5.4.1, 5.5.0 Alpha
-
None
All Qt containers (including QFlags) have a constructor taking std::initializer_list, but no container so far has an assignment operator taking std::initializer_list, too.
This might lead AFAIK to an unnecessary temorary object creation/destruction of a temporary variable & assignment in code like:
QVector<int> array;
array = { 0, 1 };
- relates to
-
QTBUG-45047 QVarLengthArray: Add support for std::initializer_list
-
- Closed
-