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'

_______________________________________________
Development mailing list
Development@qt-project.org
https://lists.qt-project.org/listinfo/development

Reply via email to