1974 shaares
6 private links
6 private links
1 result
tagged
remove
inv.erase(
std::remove_if(
inv.begin(),
inv.end(),
[](http://IInventory* element) -> bool {
// Do "some stuff", then return true if element should be removed.
return true;
}
),
inv.end()
);