[Vec] implement min/max more restricted to prevent overload problems with std::min / std::max
[Vec] implement min/max more restricted to prevent overload problems with std::min / std::max

tum-ei-rcs/mart-common,tum-ei-rcs/mart-common