[Development] Is QMap Broken

Robert Steckroth robertsteckroth at gmail.com
Mon Nov 10 23:42:18 CET 2014


thanks all, mine.

On Mon, Nov 10, 2014 at 5:34 AM, Alejandro Exojo <suy at badopi.org> wrote:

> El Monday 10 November 2014, Robert Steckroth escribió:
> > [SOLVED]: After perusing the qmap.h libraiy I found the reason why QMap
> was
> > keeping a sorted node list.
>
> Please, instead of opening bug reports, digging in the sources, and wasting
> everybody's time, you should read one of the very first lines of QMap
> documentation:
>
> "With QMap, the items are always sorted by key"
>
> If you missed that, and got confused by the description of the function you
> wanted to use (because maybe the description wasn't 100% clear that the
> position was NOT where you wanted the element inserted), then yes, you can
> ask
> the mailing list (the correct one is interest at qt-project.org instead of
> this
> one, though).
>
> And if you ask the mailing list, read the replies you got, because people
> already told you that QMap works as expected, and which other classes you
> can
> use if you need insertion order instead.
>
> --
> Alex (a.k.a. suy) | GPG ID 0x0B8B0BC2
> http://barnacity.net/ | http://disperso.net
>



-- 
<surgemcgee>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20141110/3b561d46/attachment.html>


More information about the Development mailing list