On domingo, 27 de novembro de 2016 10:32:23 PST Bob Hood wrote: > "Historically, Qt used to provide functions which were direct equivalents of > many STL algorithmic functions. Starting with Qt 5.0, you are instead > encouraged to use directly the implementations available in the STL; most > of the Qt ones have been deprecated (although they are still available to > keep the old code compiling)."
The algorithms were deprecated because there aren't two ways of implementing a binary search. So the Qt implementations were direct duplication, no way around them. The only thing that changed is that the Qt functions had a couple of convenience overloads that operated on the entire container, as opposed to an iterator pair. Many people found them, well, convenient. The containers, however, are quite different. The two most important differences are: 1) implicit sharing 2) better naming of functions [#2: obviously, in our opinion] -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest