20 for (
auto it = vector.begin(); it != vector.end(); ++it) {
41 for (
auto &element : vector) {
42 if (element == value) {
T * VectorFind(std::vector< T > &vector, const T &value)
Find the first element of a vector equal to a value.
Definition vectorutil.h:40
void VectorRemove(std::vector< T > &vector, const T &value)
Remove the first element of a vector equal to a value.
Definition vectorutil.h:19