3 Dec
2005
3 Dec
'05
10:42 a.m.
I have created a multi_index_container inline with one ordered_unique index and one hashed_unique index as demonstrated in the documentation (http://www.boost.org/libs/multi_index/doc/advanced_topics.html#hash_lookup). I can happily add and retrieve items using find() as indicated. However, if I use the =* operator as indicated and there is no matching record a memory error occurs. Therefore I need to assign the find result to an iterator and check for end(). Can anyone tell me what type this iterator should be? I've tried many combinations non of which compile. I am using Boost v1.33.0 with Darwin gcc 4.0.1 Thanks Martin