Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.7.2
-
cb40a1fa7 (dev), f6d69a757 (6.8)
Description
According to documentation, QHash has a constructor accepting an iterator pair, which accepts std::pair<keyType, valueType> as inputs which has first and second data members.
However, creating a QHash from a std::ranges::view which contains those pairs fails ("No matching constructor for initialization").
Attachments
For Gerrit Dashboard: QTBUG-128102 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
583636,3 | QHash: adapt to C++20 ranges not offering operator->() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
583975,2 | QHash: adapt to C++20 ranges not offering operator->() | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |