vector<body> inventory;
std::vector<body>::iterator index = find_if(inventory.begin(), inventory.end(), [&](const body &b) {return b.name == tempStr;} );
replace_if
find_if
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)