fmtflags:
ios_base::skipws = 0x1 = 1
ios_base::unitbuf = 0x2 = 2
ios_base::uppercase = 0x4 = 4
ios_base::showbase = 0x8 = 8
ios_base::showpoint = 0x10 = 16
ios_base::showpos = 0x20 = 32
ios_base::left = 0x40 = 64
ios_base::right = 0x80 = 128
ios_base::internal = 0x100 = 256
ios_base::dec = 0x200 = 512
ios_base::oct = 0x400 = 1024
ios_base::hex = 0x800 = 2048
ios_base::scientific = 0x1000 = 4096
ios_base::fixed = 0x2000 = 8192
ios_base::boolalpha = 0x4000 = 16384
ios_base::adjustfield = 0x1c0 = 448
ios_base::basefield = 0xe00 = 3584
ios_base::floatfield = 0x3000 = 12288
event: