A[MultiIndex] Erasing boost MultiIndex entry
8 Feb
8 Feb
7:12 p.m.
AMDG ishay lavi wrote:
const typeItemsIndexingContainer::indexItemIndex::ItemName::type& indexItemName = my_indexing.getItemIndex::ItemName(); typeItemsIndexingContainer::indexItemIndex::ItemName::type::iterator itName = indexItemName.find( item1.chItemName ); indexItemName.erase( itName );
const typeItemsIndexingContainer::indexItemIndex::ItemGroup::type& indexItemGroup = my_indexing.getItemIndex::ItemGroup(); typeItemsIndexingContainer::indexItemIndex::ItemGroup::type::iterator itGroup = indexItemGroup.find( item1.chItemGroup ); indexItemGroup.erase( itGroup ); //========================================================================
You can't erase from a const index. In Christ, Steven Watanabe
5408
Age (days ago)
5408
Last active (days ago)
1 comments
2 participants
participants (2)
-
ishay lavi
-
Steven Watanabe