Closed jonblack closed 9 years ago
Remove CheckIfContains and use std::find(v.begin(), v.end(), item) == v.end() in the calling code. I think it's clearer just to use the standard library rather than a wrapper.
CheckIfContains
std::find(v.begin(), v.end(), item) == v.end()
Remove
CheckIfContains
and usestd::find(v.begin(), v.end(), item) == v.end()
in the calling code. I think it's clearer just to use the standard library rather than a wrapper.