This function is an unformatted output function: it begin execution by constructing an object of type sentry, which flushes the tie()'d output buffers if necessary and checks the stream errors. After construction, if the sentry object returns false, the function returns without attempting any output. If an exception is thrown during output, then ios::badbit is set (the exception is suppressed unless exceptions()&badbit !=0, in which case it is rethrown)

The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.