cpp/io/basic ostream/put

Behaves as an. After constructing and checking the sentry object, writes the character to the output stream.

If the output fails for any reason, sets.