Re: [Boost-users] how to lisk unique keys in boost multi_index_container
3 Dec
2014
3 Dec
'14
3:18 a.m.
thanks for JoaquÃn M López Muñoz 's reply. i have tried your code, it works as i need exactly. for(auto it=data.get<1>().begin(),it_end=data.get<1>().end(); it!=it_end; it=data.get<1>().upper_bound(it->m2)){ std::cout<<it->m2<<"\n"; // or whatever you need to do with the key } i'll use this method in reality, thanks! Bill
3630
Age (days ago)
3630
Last active (days ago)
0 comments
1 participants
participants (1)
-
Bill Tian