03.09.2013, 14:47, "Mandeep Sandhu" <mandeepsandhu....@gmail.com>:
> On Tue, Sep 3, 2013 at 3:26 PM, Konstantin Tokarev <annu...@yandex.ru> wrote:
>> 03.09.2013, 13:51, "Mandeep Sandhu" <mandeepsandhu....@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.

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

Reply via email to