Boost logo

Boost :

From: Matias Capeletto (matias.capeletto_at_[hidden])
Date: 2006-11-19 17:33:30

On 11/19/06, Sohail Somani <s.somani_at_[hidden]> wrote:
> Could you mention how this is different from using multi index
> to do the same thing?
> I'd expect a bimap to be some sort of typedef
> Bad form to reply to my own email, but anyway:
> I've now gone through a bit of the thread you referenced below.
> It seems like the biggest benefit is an easier interface.
> Given that this is a good enough reason for most people, would it
> not be possible to share code with multi index?
> Perhaps by private inheritance or aggregation?
> I'd suspect that there is likely to be code duplication otherwise.

Boost.MultiIndex is the core of Boost.Bimap. There is no code duplication.
Please read this part of the docs:

Best Regards
Matias Capeletto

Boost list run by bdawes at, gregod at, cpdaniel at, john at