Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::multi_index help
From: Axel (axel.azerty_at_[hidden])
Date: 2008-09-18 06:02:20


joaquin_at_[hidden] wrote:
> I think you need to use equal_range here:
>
> // return a range comprising objects with block_id==3
> foo_list_.get<block_id_>().equal_range(3);
>
> Does this help?
>
> Joaquín M López Muñoz
> Telefónica, Investigación y Desarrollo

You're right, It works well, it was a part of the documentation I didn't
go deeply.
Thanks for your help.

Axel


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