is there an better way to set a variables to one of its limits than
varname = std::numeric_limits<decltype(varname)>::max();
especially when initializing
int64_t varname = std::numeric_limits<decltype(varname)>::max();
I normally do not want to use the type in such expressions since its easy to miss this if type is changed.