The function signature
dec(ios_­base&)
can be called by
the function signature
basic_­ostream& stream​::​operator<<(ios_­base&(*)(ios_­base&))
to permit expressions of the form
cout << dec
to change the format flags stored in
cout.