[Development] Qt 5 types under consideration for deprecation / removal in Qt 6

Allan Sandfeld Jensen kde at carewolf.com
Wed May 29 17:22:28 CEST 2019


On Mittwoch, 29. Mai 2019 15:33:23 CEST Giuseppe D'Angelo via Development 
wrote:
> Il 29/05/19 12:53, Mutz, Marc via Development ha scritto:
> > == QSet / QHash -> std::unordered_set/map ==
> > 
> > I'd really like to see these gone. Mainly to free up their names for OA
> > hash containers, something that the STL doesn't, yet, have.
> 
> I don't think this is realistically possible. What I would suggest, to
> bring the maintenance burden down to a minimum, and increase our
> compatibility with stdlib to a maximum, is have QHash/QMap to be a CoW
> wrapper for std::(unordered_)map . The inner data structure should be
> exposed to the user, allowing for deep integration between stdlib and Qt.
> 
I like that idea. Maintains our API and semantics while removing our 
implementation.

'Allan





More information about the Development mailing list