Input/output manipulators
Input/output manipulators
Manipulators are helper functions that make it possible to control input/output streams using operator<<
or operator>>
.
The manipulators that are invoked without arguments (e.g. std::cout << std::boolalpha;
or std::cin >> std::hex;
) are implemented as functions that take a reference to a stream as their only argument. The special overloads o