On 11/27/2016 12:58 PM, Thiago Macieira wrote:
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]

Of course, and thanks for the clarification. I wanted to make sure I had my team follow the recommended course of action with regard to this when we start any new Qt5-based development.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to