cpp/io/basic ostream/operator ltlt2

Inserts a character or a character string.

@1@ Behaves as a. After constructing and checking the object, inserts the character. If the type of the character is not, it is first converted with. Padding is determined as follows: if, then copies of  are added to the output character to form the output character sequence. If, the fill characters are placed after the output character, otherwise before. After insertion, is called to cancel the effects of std, if any.

@2@ Behaves as a. After constructing and checking the sentry object, inserts successive characters from the character array whose first element is pointed to by. Before insertion, first, all characters are widened using, then padding is determined as follows: if the number of characters to insert is less than , then enough copies of are added to the character sequence to make its length equal. If, the fill characters are added at the end of the output sequence, otherwise they are added before the output sequence. After insertion, is called to cancel the effects of std, if any. The behavior is undefined if is a null pointer. @3@ Calls the appropriate insertion operator, given an rvalue reference to an output stream object (equivalent to ). . @4@ Overloads that accept, etc (or null terminated sequence thereof) are deleted:  is not allowed. Previously, these would print an integer or pointer value.
 * for the first and third overloads (where matches the type of ), exactly  characters are inserted.
 * for the second overload, exactly characters are inserted.
 * for the last two overloads, exactly are inserted.

Return value
@1-2@ @3@