names.get<last>().erase(mitchells);
How to erase in Boost multi_index composite keys?
-
26-06-2022 - |
質問
I was checking on this Boost multi_index composite keys using MEM_FUN
Can someone tell me how to implement erase function for this example ?
Now I am doing
Name_set_by_last::iterator mitchells = names.get<last>().find("mitchell");
names.erase(mitchells );//shows error
正しい解決策はありません
他のヒント
所属していません StackOverflow