[Interest] Qt based Ordered Map container

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Tue Sep 3 13:38:04 CEST 2013


On Tue, Sep 3, 2013 at 4:19 PM, Konstantin Tokarev <annulen at yandex.ru>wrote:

>
> 03.09.2013, 14:47, "Mandeep Sandhu" <mandeepsandhu.chd at gmail.com>:
> > On Tue, Sep 3, 2013 at 3:26 PM, Konstantin Tokarev <annulen at yandex.ru>
> wrote:
> >> 03.09.2013, 13:51, "Mandeep Sandhu" <mandeepsandhu.chd at gmail.com>:
> >>>> In case you want to use such a container, please try it out and let
> me know your feedback.
> >>>> You need to use Boost.MultiIndex.
> >>>
> >>> Thanks for pointing this out. I haven't used Boost much so didn't know
> about it.
> >>>
> >>> This looks like quite a flexible container where it has different
> indexes for the data stored within (like an RDBMS).
> >>
> >> Yes, but it can also be used for simpler cases like your (hash +
> ordered index).
> >
> > Although I must say, after going through it's basic example, it's syntax
> is butt ugly!
>
> typedef is your friend.
>

True. I used it quite a lot in my implementation to shorten stuff.

-mandeep


>
> --
> Regards,
> Konstantin
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130903/e1b50872/attachment.html>


More information about the Interest mailing list