문제

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