The modern way of doing this is
std::ranges::find(nameOfLongNamedStdVector, value);
. The vector name is not repeated.