KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have two vectors. vector<Object> objects; vector<string> names; These two vectors are populated and have the same size. I need some algorithm which does assignment to the object variable. It could be using boost::lambda. Let's say: some_algoritm(objects.begin(), objects.end(), names.begin(), bind(&Object::Name, _1) = _2); Any suggestion?
Tags (comma-separated)
Save Edits
Cancel