Re: [Boost-users] [MULTI_INDEX] intersection algorithm?
Guillaume Lazzara ha escrito:
Hello,
I am currently using multi_index as "set" container and I wanted to know how to use intersection algorithm. I tried with the STL interction algorithm but it crashed. How can I do?
Hello Guillaume. In principle, there's nothing preventing multi_index_container's from working with set_intersection. Could you provide a case where the referred to crash shows? Failing that, a little more detailed explanation or some code? Thank you, Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
On 5/7/06, JOAQUIN LOPEZ MU?Z
Hello Guillaume. In principle, there's nothing preventing multi_index_container's from working with set_intersection. Could you provide a case where the referred to crash shows? Failing that, a little more detailed explanation or some code?
Hello Joaquin, It was not a multi_index bug. I tried to store intersection results in the multi_index I was using for intersection. It doen't seem to work with boost multi_index, whereas it works with STL maps. Everything works well now. Thank you for your answer! -- Guillaume Lazzara Epita Promo 2008 http://guillaume.lazzara.fr
participants (2)
-
Guillaume Lazzara
-
JOAQUIN LOPEZ MU?Z