On Monday, 3 December 2018 15:33:06 PST Bernhard Lindner wrote: > What about those people who want (or must) implement clean interfaces in > their code using standard size_t?
You're inverting the argument we've had for using int. It's not that it's always sufficient, but it's sufficient for a sufficient number of use-cases, thus avoiding unnecessary casts *and* avoiding mistakes in conversion. The literal "1" is int, not size_t or long, so it's far easier to write int code than size_t. In any case, Qt will not use an unsigned type. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
