How to erase in Boost multi_index composite keys?

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



Need Your Help

Converting SOAP XML to JSON in using .Net based Web services

.net xml web-services json soap

I am developing an Mobile Web App. I consume a SOAP XML based web service. But based on this thread Why is it not a good idea to use SOAP for communicating with the front end (ie web browser)?, I am

Search for phrase/word in text files with php

php search full-text-search directory

How would I scan a directory for a specific line of text and list all matching files with php?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.