◐ Shell
clean mode source ↗

std::basic_ios::copyfmt — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

basic_ios& copyfmt(const basic_ios& other);

Copie les codes de formatage du flux other. Ceci est fait dans l'ordre suivant:

Original:

Copies the formatting flags from stream other. This is done in the following sequence:

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

1)

Rappels, les appels enregistrés par le passage

register_callback() erase_event

en tant que paramètre

Original:

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

2)

Copie les informations de mise en forme de other à *this. Interne tableau de données est également copié. rdstate() reste inchangé .

Original:

Copies the formatting information from other to *this. Internal data array is also copied. rdstate() is left unchanged.

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

3)

Rappels, les appels enregistrés par le passage

register_callback() copyfmt_event

en tant que paramètre

Original:

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

4)

Copie le masque d'exception à partir de other *this .

Original:

Copies the exception mask from other to *this.

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

Définit l'erreur de flux drapeaux state en plus de définir des indicateurs actuellement. Appelle essentiellement clear(rdstate() | state). Peut lever une exception .

Original:

Sets the stream error flags state in addition to currently set flags. Essentially calls clear(rdstate() | state). May throw an exception.

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

Paramètres

other -

un autre flux pour l'utiliser comme source

Original:

another stream to use as source

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

Retourne la valeur

*this

Exemple