Boost logo

Boost Users :

From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2007-04-02 13:28:51


On Mon, April 2, 2007 19:12, Christian Henning wrote:
>> Sorry to intervene this discussion and may be put into other direction... Looks like you are
>> going
>> to emulate a db-table-like view? If so why don't you like the idea of using Boost.MultiIndex
>> lib?
>> It is extremely powerful (also offers the tag dispatching techniques), already debugged, easy to
>> use and very flexible...
>>
> I'm always open for new ideas. I have never dealt with
> boost::MultiIndex. So I'm not aware of the advantages in using it for
> my project. I will take a look at it. Is there any sample code that
> does something similar?
>
> Regards,
> Christian
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

With MultiIndex you can index columns of a table with some best suitable view concepts. For
example one view to the table can be defined using the hashing function and find extremely quickly
the required entry or another view can index the same column by its order (how the elements are
naturally inserted) and much more.

I suggest you to take a look at this tutorial:
http://www.boost.org/libs/multi_index/doc/tutorial.html

With Kind Regards,

Ovanes Markarian


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net