std::setbase - cppreference.com
en.cppreference.com › w › cppSep 22, 2022 · Defined in header <iomanip>. /*unspecified*/setbase(intbase ); Sets the numeric base of the stream. When used in an expression out <<setbase(base)or in >>setbase(base), changes the basefieldflag of the stream outor in, depending on the value of base: the value 16sets basefieldto std::ios_base::hex.