On Sun, Nov 24, 2019 at 12:31:32PM +0100, Konrad Rosenbaum wrote: > I'd rather have the compiler tell me that I need to change my code than hide > it from me. Warnings are there for a good reason.
["Some"...] > The only way to do this with this proposal is to make count() deprecated from > the start! So, why bother with duplicated API in the first place? Because a lot consumers (and this includes most of Qt code itself) settled on an int based interface for things they are interested to count or index. So it's either getting _also_ an int interface directly, or direct narrowing on the user side. Andre' _______________________________________________ Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
