[Development] Qt 5 types under consideration for deprecation / removal in Qt 6
André Pönitz
apoenitz at t-online.de
Sun Jun 9 13:21:01 CEST 2019
On Sun, Jun 09, 2019 at 12:30:23AM +0200, Иван Комиссаров wrote:
> No, they should not.
>
> C++ committee understands the problem of ugly iterators and it seems they have a solution - ranges.
>
> Why do you want to use qSort instead of std::ranges::sort?
Because the compiler might not support it.
> QVector<int> v;
> qSort(v);
> std::ranges::sort(v);
>
> I don’t see any advantages of the qSort() here.
> No more ugly begin/end pair. Problem solved.
> There’s no use-case for the qSort.
Andre'
More information about the Development
mailing list