explicit StreamFlagSaver(std::basic_ios<CharT>& str) : str_(&str), flags_(str.flags()), width_(str.width()), fill_(str.fill()) { }