[Development] Is qsizetype *documented* to be ptrdiff_t?
apoenitz at t-online.de
Thu Sep 3 02:42:31 CEST 2020
On Wed, Sep 02, 2020 at 09:15:37AM +0200, Mathias Hasselmann wrote:
> I'd rather say that cast is entirely ugly. Seems like a perfect example or
> code smell: Something is fundamentally wrong they way qsizetype is defined.
Funnily enough the same can be said for the casts that are now necessary
in a formerly consistent 'int'-based codebase using Qt containers.
More information about the Development