Вопрос

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

Нет правильного решения

Другие советы

names.get<last>().erase(mitchells);

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top